Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

asp.net - Browser displaying "Directory Listing -- /" -


i'm developing simple asp.net application giving me annoying error.

i'm having textbox- , button-control, text in textbox saved database table when clicking button. text propagated database means of wcf service.

since i'm rather mediocre programmer, tend errors , results in lots of error messages displayed in browser. can understand. fix them , build solution , press f5 going. after fixing errors, everytime browser displays directory listening 1 below instead of astonishing ui.

directory listing -- /

monday, december 20, 2010 10:10 pm        <dir> bin    saturday, december 18, 2010 10:10 pm      1,303 mainform.aspx monday, december 20, 2010 10:28 pm        467 mainform.aspx.cs    saturday, december 18, 2010 10:09 pm      2,118 mainform.aspx.designer.cs friday, december 17, 2010 10:25 pm        <dir> obj friday, december 17, 2010 10:25 pm        <dir> properties sunday, december 19, 2010 10:09 pm        <dir> service references monday, december 20, 2010 02:01 pm        5,552 simplechat.csproj monday, december 20, 2010 02:01 pm        1,170 simplechat.csproj.user sunday, december 19, 2010 10:09 pm        1,810 web.config friday, december 17, 2010 10:25 pm        1,285 web.debug.config friday, december 17, 2010 10:25 pm        1,346 web.release.config 

version information: asp.net development server 10.0.0.0

why on earth happening?

i know how work around tedious: in mainform.aspx.cs comment rows concerning call service, rebuild solution, uncomment call service , rebuild solution again. works expected till ran next bug.

thanks reading... ;-)

the easiest fix right click on page in solution want open when run project , select "set startup page"

in example above "mainform.aspx"


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -