阅读背景:

如何以编程方式检测我的应用程序是否在ASP.NET页面中的IIS 7.0集成模式下运行

来源:互联网 

Generally we should have control of our AppPools and be able to force the Managed Pipeline Mode. In my case I don't have control and would like to implement the code behind code a little differently based on the Managed Pipeline Mode (Integrated vs Classic). I just don't know how to detect this. Is there a simple way to do it from within the code behind page?Generally we should have control of our AppPool




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: