20

Is it possible to check if our code is executing in Integrated Pipeline Mode or not?

There are some ASP.NET class properties that only work in Integrated Pipeline Mode, and I want to avoid raising an exception if there is a way to test if our code is executing in that environment or not.

userx
  • 3,769
  • 1
  • 23
  • 33

1 Answers1

36

You're looking for the HttpRuntime.UsingIntegratedPipeline property.

SLaks
  • 868,454
  • 176
  • 1,908
  • 1,964