15 Views· 24 June 2022
IIS (Internet information services) Architecture | IIS Web Server Internals | How does IIS Works?
Advertisement
IIS (Internet information services) is the Web Server That Runs on Microsoft Windows Operating systems, it can be installed on Bother Windows Server or Windows Client Machines like Windows 7,8 and 10.
IIS Web Server can be used to host both Managed .NET applications like ASP. NET and unmanaged code application like PHP or even Node JS.
But IIS is commonly used to host .NET Apps.
In this video, I will talk about the internal IIS architecture and how it works.
IIS Architecture - How IIS handles Requests?
1- When a client browser initiates an HTTP request for a resource on the webserver, HTTP.sys intercepts the request.
2- HTTP.sys contacts Windows Activation Service (WAS) to obtain information from the configuration store.
3- WAS requests configuration information from the configuration store, applicationHost.config.
4- The World Wide Web Publishing Service (WWW Service) receives configuration information, such as application pool and site configuration.
5- The WWW Service uses the configuration information to configure HTTP.sys.
6- WAS starts a worker process for the application pool to which the request was made.
7- The Worker Process processes the request and returns a response to HTTP.sys.
8- The client receives a response.
Details of an HTTP request inside the worker process
In a worker process, an HTTP request passes through several ordered steps, called events, in the Web Server Core. At each event, a native module processes part of the request, such as authenticating the user or adding information to the event log. If a request requires a managed module, the native Managed Engine module creates an AppDomain, where the managed module can perform the necessary processing, such as authenticating a user with Forms Authentication. When the request passes through all of the events in the Web Server Core, the response is returned to HTTP.sys.
🔥 Join My Full Mastery IIS Course (Limited Time Discount) 👉 http://h-y.me/IIS-COUSE
❤️ Support me? 👉 https://www.patreon.com/heducate
👉 https://h-educate.com/donate/
⭕Getting Support 👉 Comment Below 👇
Copyright © H-educate. Any reproduction or illegal distribution of the content in any form will result in immediate action against the person concerned.
Primary Author and Founder of H-educate: Hassan Aboul Hassan
Contact Email: support@h-educate.com
#iis #webserver
Up next
Advertisement
0 Comments