views:

291

answers:

1

What happens first in the pipeline: a URL Rewrite (as defined in the URL Rewrite module of IIS), or a HttpHandler (added with the add managed handler functionality of IIS7)?

+1  A: 

The rewrite module goes first. It intercepts the request before any handler is selected for it and rewrites the URL so that the handler can be selected based on the new URL.

IIS URL Rewrite in IIS Pipeline Diagram

Mehrdad Afshari