开发者

What is the difference between the IIS7 application pool types

开发者 https://www.devze.com 2023-01-02 07:43 出处:网络
In IIS7 you have the option the choose different application pool type. I have 4 types to choose from

In IIS7 you have the option the choose different application pool type. I have 4 types to choose from

  • Default Application pool
  • Classic .Net Application pool
  • ASP.NET v4.0
  • ASP.NET v4.0 C开发者_如何学Golassic

What are the differences between these, and when to choose what?


Classic mode models the IIS 6.0 model in which ASP.NET is an ISAPI add-on to IIS. This mode is available for backward compatibility but lacks many of the features in the new Integrated mode. In Classic mode, IIS has its own pipeline that can only be extended by creating an ISAPI extension, which has a well-deserved reputation for being difficult to develop. ASP.Net is run as an ISAPI extension that is just one part of the IIS pipeline.

Integrated mode makes ASP.Net an integral part of IIS. Now the IIS server functionality is split into more than 40 modules that break the IIS and ASP.Net functionality into pieces. Modules such as StaticFileModule, BasicAuthenticationModule, FormsAuthentication, Session, Profile and RoleManager are part of the IIS pipeline. FormsAuthentication, Session, Profile and RoleManager were previously part of ASP.Net and didn't have anything to do with IIS.

0

精彩评论

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

关注公众号