且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在IIS6安装ASP.NET 4.0旁边ASP.NET 2.0

更新时间:2022-11-06 11:03:59

要澄清:每一个应用程序池结合使用它,在应用程序启动顺序的第一个网站的.NET框架。首先网站将运行良好,但所有其他网站将被限制在同一个应用程序池。你需要每framework版本,至少有一个应用程序池;在我的经验中,最强大的设置是每个应用程序一个应用程序池 - 这种方式,你可以切换framework版本,而不必担心其他应用程序,并在需要时可以通过击杀任务管理器单独的应用程序

To clarify: Each app pool binds to the .NET framework of the first web site that uses it, in order of application startup. That first site will run fine, but all other sites will be restricted to the same app pool. You need at least one app pool per framework version; and in my experience, the most robust setup is one app pool per application - this way, you can switch framework versions without worrying about other applications, and you can kill individual applications through task manager when the need arises.