Search code examples
asp.netiisiis-7integrated-pipeline-mode

Check if in Integrated Pipeline Mode


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.


Solution

  • You're looking for the HttpRuntime.UsingIntegratedPipeline property.