开发者

What is the difference between a simple ASP.Net website and ASP.Net webapplication?

In Visual Studio, I tried a project in both. But there ap开发者_运维百科pears to be no difference in the tools displayed in the tool box....

So what the real basic major difference.?


See these:

ASP.NET Web Site or ASP.NET Web Application?


  • Website is for internet based audience - in this case your concerns(security, etc) are different;
  • Web application is a software, just like a desktop application software, usually intended to be used for intranet environments. For instance, an HR software could be a web app - that is available on the intranet for all the departments to fill in their timesheets.

Though, a website may contain specific operations, tasks, or workflows.

Checkout: Web site project vs Web app project


WebSite project is compiled on the fly.

In a WebApplication, you need to build a page before you can debug.

However, WebApplication is the way to go, because with WebSite-project, you cannot create a setup project (and conversion from WebSite to WebApplication can lead to problems/bugs).

That's why I recommend WebApplication. Simply put, a WebSite is worth nothing if the customer is too stupid to install it manually.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜