2

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

Petras
  • 4,686
  • 14
  • 57
  • 89

1 Answers1

5

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
  • 623,446
  • 136
  • 1,297
  • 1,155