Inside IIS Request Processing and ASP.NET Page Lifecycle

21,772 views

Published on

Topic Covered :
ASP.NET Runtime Engine and Visual Studio
Role of a Web Server
Key Concepts of IIS
IIS and ASP.NET Requests Processing
Inside Worker Process
Internals of Http Pipeline
Page Lifecycle Internals

Published in: Technology
5 Comments
11 Likes
Statistics
Notes
No Downloads
Views
Total views
21,772
On SlideShare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
521
Comments
5
Likes
11
Embeds 0
No embeds

No notes for slide

Inside IIS Request Processing and ASP.NET Page Lifecycle

  1. 1.  ASP.NET Runtime Engine and Visual Studio Role of a Web Server Key Concepts of IIS IIS and ASP.NET Requests Processing Inside Worker Process Internals of Http Pipeline Page Lifecycle Internals
  2. 2.  Visual Studio IDE has it own Integrated ASP.NET Runtime ASP.NET Development Server ASP.NET Development Server Runs on Specific Port Local Development System Visual Studio Web ASP.NET Development Server Application Webdev.WebServer20.exe Webdev.WebServer40.exe
  3. 3. Local Development System Process Request (w3wp.exe)Visual Studio Local IIS Request Response Web Worker Application Process
  4. 4. Worker Worker Worker Process Process Process w3wp Application Application IIS Application Pool Pool Pool Web Application 3Web Application 1 Web Application 2 Web Application 4
  5. 5. IIS User Level W3wp.exe W3wp.exe W3wp.exe Application Application Application Pool Pool Pool HTTP.SYSApplicationHost.Config
  6. 6. Svchost.exeWorld Wide Web Publishing Windows Process Activation Service (WWW service) Service (WAS) HTTP.SYS
  7. 7. ApplicationHost.Config Svchost.exeWorld Wide Web Publishing Windows Process Service (WWW service) Activation Service (WAS) HTTP.SYS
  8. 8. Worker Process (w3wp.exe) ApplicationHost.Config Svchost.exeWorld Wide Web Publishing Windows Process Service (WWW service) Activation Service (WAS) HTTP.SYS
  9. 9. W3wp.exe aspnet_isapi.dll.NET Runtime HTTP Handler HTTP Handler
  10. 10. Create New Instance of HttpContextISAPIRuntime.ProcessRequest() HttpRuntime.ProcessRequest Load HttpApplication Calls HttpApplication.Init()
  11. 11.  Created By HTTPApplicationFacotry class It’s create pool of HTTPApplication Object W3wp.exe Web Server Core Modules
  12. 12. Application HTTPModule Handler Factory HTTPHandlerASP.NET Page
  13. 13. W3wp.exe Web Server Core Modules ApplicationHost.Config Svchost.exeWorld Wide Web Publishing Windows Process Service (WWW service) Activation Service (WAS) HTTP.SYS
  14. 14. ASP.NET Pages HTTPPipeline Global.aspxASP.NET Runtime IIS
  15. 15.  Visual Studio Integrated Web Server Execution Process Application Pool, Worker Process, Web Farm, Web Garden User Level and Kernel Level of IIS Application Configuration, SVCHOST.EXE, WWW, WAS IISAPI Filter, HTTP Module and HTTP Handler , Handler Factory HTTP Pipeline, ASP.NET Routing Module Page Life Cycle Internal Events
  16. 16. http://msdn.microsoft.com/ http://technet.microsoft.com/ msdnindia @msdnindia technetindia @technetindia
  17. 17. Thank You !

×