Lessons in this course (9)

1. Installing IIS and its core components

Basic★ Must knowLesson 1 of 9
powershell
# Windows Server
Install-WindowsFeature -Name Web-Server, Web-Asp-Net45, Web-Windows-Auth, Web-Http-Redirect, Web-Dyn-Compression -IncludeManagementTools
# Windows 10/11
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole, IIS-ASPNET45, IIS-ManagementConsole -All
ComponentModeRole
HTTP.sysKernelListens on ports, request queues per app pool, kernel caching, TLS (with SChannel)
WASUser (service)Reads configuration, manages app pools and worker process lifetime
W3SVCUser (service)Adapter between HTTP.sys and WAS for HTTP
w3wp.exeUser (process)Worker process: runs the pipeline, modules and your application
applicationHost.configFileServer-wide configuration (sites, pools, bindings, global modules)

Default site: "Default Web Site" bound to *:80, physical path C:\inetpub\wwwroot.