简体   繁体   中英

using web site to develop or using web application in ASP.Net?

I want to learn the pros and cons of using Web Site project type or using ASP.Net Web Application Project type?

My web application is using ASP.Net 2.0 or later, and the web application just shows UI, call some other database store procedure and some other WCF Web Services.

thanks in advance, George

The Web Site project was an attempt by Microsoft to make it as simple as possible to develop and deploy an ASP.NET application, seemingly in an attempt to compete with simpler frameworks such as Ruby on Rails. The Web Site project does not use a csproj file to control references, project settings, etc., it relies on the directory and file structure of the project.

In my experience, the lack of a proj file creates more headaches than it solves. I would definitely stick with Web Application Projects.

Here are a few references:

http://www.techbubbles.com/aspnet/aspnet-website-vs-web-application-project/

http://blogs.microsoft.co.il/blogs/maordavid/archive/2007/06/03/ASP.NET-2.0- 2D00 -Web-Site-vs-Web-Application-project.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM