Is it possible to determine the manag开发者_如何学运维ed pipeline IIS7 is running under in ASP.NET?
Do you mean the integrated pipeline mode? If so then you're looking for: HttpRuntime.UsingIntegratedPipeline
.
if(HttpRuntime.UsingIntegratedPipeline) {
//Yep we're using it
}
精彩评论