ASP.NET Web Application vs ASP.NET Web Site
Jaky je rozdil mezi ASP.NET Web Application a ASP.NET Web Site ve Visual Studiu 2005?
Kdyz si udelam ve VS2005 ASP.NET Web Application, tak to vyzaduje kompilaci do DLL, jinak browser hlasi chybu.
V pripade ASP.NET Web Site si to kompiluje IIS automaticky.
Ale zase mi VS2005 pod Windows Vista pri otevreni solution rve, ze
Citace:
The site 'http://localhost/xxx' is currently configured for us with ASP.NET 1.1.4322.2407. Microsoft Visual Studio has been designed for use with ASP.NET 2.0; if not configured some features may make incorrect assumptions, and pages designed with the tool may not render correctly.
Would you like the site to be configured for use with ASP.NET 2.0?
IIS ma standardne nastaveno FW 2.0 a zmineny web take.
Pri browseni jede web tak, jak ma.
Re: ASP.NET Web Application vs ASP.NET Web Site
Web Site je spis pro weby ktere jsou umistene v jednom adresari - ten adresar pak otevres funkci Open as Website a muzes jet. Web Application vyzaduje mit udelany projekt.
Hlavni rozdil uz jsi v podstate napsal, web app musis buildout z projektu a vygeneruje ti DLL soubor, u web site se ti vygeneruje assembly pri kazdem prvnim pozadavku na aspx stranku (kompiluje to web server).
Osobne pouzivam Web site model, je to jednodussi, rychlejsi na upravy a lepe se mi s tim pracuje.
Re: ASP.NET Web Application vs ASP.NET Web Site
Diky za potvrzeni. Posilam K+
ASP.NET Web Application se v VS2005 chova jako standardni ASP.NET Web Application v VS2003. Tam to bez kompilace do DLL nejde.
ASP.NET Web Site je vlastne v VS2005 novy druh "projektu".
Ted jeste jak odstranit to zbytecne hlaseni pri otevirani ASP.NET Web Site.
Re: ASP.NET Web Application vs ASP.NET Web Site
Diky.
Jestli mas vice verzi .NET frameworku, tak bych zkusil odebrat tu 1.1 a nechat tam jen tu nejnovejsi. Vice verzi frameworku vedle sebe nevadi, ale asi blbne ta detekce ve Visual Studiu.
Re: ASP.NET Web Application vs ASP.NET Web Site
To neni dobry napad - mam tam weby, co jedou pod FW 1.1.