Check if in Integrated Pipeline Mode
Asked Answered
M

1

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.

Module answered 3/5, 2010 at 23:21 Comment(0)
O
36

You're looking for the HttpRuntime.UsingIntegratedPipeline property.

Orison answered 3/5, 2010 at 23:25 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.