Application Pools
Cheat sheet · https://pcornel.dk/topic.php?topic=3357
Answer
An IIS application pool is a worker process (w3wp.exe) with its own identity, .NET CLR version and pipeline mode that runs one or more sites, isolating them so one crashing app does not take down others.
Remember
- Each application pool runs its own w3wp.exe with its own identity.
- Recycling restarts the worker and drops in-memory sessions.
- The pool identity needs read access to the site files.
First checks
Get-Website— sites, state, bindingsGet-IISAppPool— application pools and stateGet-WebBinding— bindingsGet-ChildItem IIS:\SslBindings— certificate bindingsGet-Content C:\inetpub\logs\LogFiles\W3SVC<id>\*.log -Tail 20— request log
Verify in this order
app pool → w3wp under identity → runs the app
Where it usually breaks
First mismatch in target identity/version → persistent configuration/source of truth → provider/service/control plane → runtime/effective state → user/workload-visible result → event/log evidence; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3357