views:

26

answers:

1

Is it possible to determine the managed pipeline IIS7 is running under in ASP.NET?

+3  A: 

Do you mean the integrated pipeline mode? If so then you're looking for: HttpRuntime.UsingIntegratedPipeline.

if(HttpRuntime.UsingIntegratedPipeline) {
  //Yep we're using it
}
Nick Craver