IIS 7.0, ASP.NET, pipelines, modules, handlers, and preconditions

1.0 What is the IIS Pipeline Conceptually, the IIS pipeline is a state machine with the following states: BEGIN_REQUESTAUTHENTICATE_REQUESTAUTHORIZE_REQUESTRESOLVE_REQUEST_CACHEMAP_REQUEST_HANDLERACQUIRE_REQUEST_STATEPRE_EXECUTE_REQUEST_HANDLEREXECUTE_REQUEST_HANDLERRELEASE_REQUEST_STATEUPDATE_REQUEST_CACHELOG_REQUESTEND_REQUEST When a request is received, it moves through the state machine step-by-step until completion.  Beginning with IIS 7.0, users can register their own code to be executed within any or all of the steps.  This code…

6

IIS7 kernel-mode authentication

This appears to be undocumented. By default, IIS7 uses kernel-mode authentication, which happens to have a large performance benefit.  There is a bug in kernel-mode authentication where requests that send credentials will fail unless an anonymous request has been made first.  Once an anonymous request has been made, requests that send credentials will succeed (if…

0