Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does the IIS 7 / ASP.Net pipeline work?

Tags:

asp.net

iis

From an HTTP request all the way to my files (like .asmx)... what are modules, handlers, app pools... etc... I don't want to ready a chapter about it. Just a summary paragraph.

like image 999
Nestor Avatar asked Nov 06 '09 16:11

Nestor


People also ask

What is IIS pipeline?

In IIS, the IIS and ASP.NET request pipelines combine to process requests with an integrated approach. The new request-processing architecture consists of an ordered list of native and managed modules that perform specific tasks in response to requests.

How does IIS process the request?

IIS creates a new process. IIS will then provide the query string and other parameters that are included with the request through the environment and standard input (STDIN) handle for the process. ISAPI filters are always loaded as long as the Web service is running and a request to the server has been made.

Does IIS use .NET framework?

NET Framework 4.5 is the default on IIS 8.0.

What are the main layers of IIS architecture?

IIS Architecture IIS has two main layers - Kernel Mode and User Mode. The Kernel Mode contains the HTTP. SYS and User Mode contains WAS and W3 service.


1 Answers

Here's an image describing the IIS 6 & ASP.NET pipeline from Learn IIS.NET:

IIS 6 pipeline http://i3.iis.net/media/7179635/aspnet-integration-with-iis-243-fig1.jpg?cdn_id=2013-10-22-001

Here's an image describing the IIS 7 & ASP.NET pipeline from Learn IIS.NET:

IIS 7 pipeline http://i1.iis.net/media/7179629/aspnet-integration-with-iis-243-fig2.jpg?cdn_id=2013-10-22-001

And finally here's an image for the MVC pipeline that Red-Gate put together:

RedGate ASP.NET MVC request handling pipeline poster

The pdf can be downloaded from RedGate

like image 122
Gavin Miller Avatar answered Oct 10 '22 21:10

Gavin Miller