@Kai.Ma
你说的是部署方面的情况。明智的大网站物理架构上,不是一个WebApplication,是分布式,分散成多个WebApplication的,要重启,也只是局部重启。
---------------------------------------------
对于asp.net大网站,局部重启也是损失惨重的
关于WebApplication的好处还是在维护管理上,部署上相对要比Website方便一点,因为website的Dll太多了,找起来麻烦,最要命的是,更新的时候,每次Dll名字都不一样,而WebApplication就一个dll。
----------------------------------------------
你不需要查找和更新dll,直接更新页面就可以了
WebApplication如果是仅仅修改aspx页面不改动.cs文件,也是无需重启应用程序的,这点应该和WebSite一样吧
------------------------------------------------
而大部分情况下都是需要修改cs的
Please take a look:
http://forums.asp.net/p/988775/1279716.aspx#1279716
Item 3 - Are Web Site Projects still supported?
Yes. Web Site Projects ship with Visual Studio 2005 RTM and are fully supported. For the majority of web developers, the Web Site Project model will be ideal for their web projects since it does not require a project file, is easy to deploy and can be edited remotely.
Item 4 - What web project model should I use?
This depends on your web project and what web project model you are comfortable with. Generally speaking, if you have a complicated Visual Studio .NET 2003 web project to convert, it will be easier to use Web Application Projects. For more information, please read An Introduction to Web Application Projects to learn more about what model is best for you.
回复 引用 查看