Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check if in Integrated Pipeline Mode

Tags:

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.

like image 571
userx Avatar asked May 03 '10 23:05

userx


People also ask

What is Integrated managed pipeline mode?

Integrated mode enables you to configure managed modules for Web sites that are developed with unmanaged code. For example, you can use managed Forms authentication for a Web site that is developed with ASP. You can use this property to configure the pipeline mode of the current application pool.

What is integrated pipeline?

Overview. A continuous integration and continuous deployment (CI/CD) pipeline is a series of steps that must be performed in order to deliver a new version of software. CI/CD pipelines are a practice focused on improving software delivery throughout the software development life cycle via automation.

What is Integrated mode?

Integrated mode in IIS 7.0 refers to the ability of managed code to have access to the unified pipeline. As mentioned earlier in this chapter, ASP.NET modules now have access to all content, not just from . aspx or . asmx files.

How do I change the pipeline mode in IIS?

Once inside IIS Manager, Select Application Pools in the left pane. Once selected, the application pools available for your web server will be displayed on the right. To toggle the Management Pipeline Mode setting for this application pool, simply double click the application pool.


1 Answers

You're looking for the HttpRuntime.UsingIntegratedPipeline property.

like image 182
SLaks Avatar answered Nov 03 '22 01:11

SLaks