views:

97

answers:

1

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.

+3  A: 

You're looking for the HttpRuntime.UsingIntegratedPipeline property.

SLaks