Let's think about the difference in what actually happens:
URL rewriting:
- IIS receives the request and passes it to the unmanaged module
- The module matches the request with a set of templates and returns a transformation
- IIS passes the return transformation to the ASP.NET module and starts the request life cycle
Routing:
- IIS receives the request and passes it to ASP.NET
- ASP.NET maps the request to a set of templates and defines an entry point for processing the request
- ASP.NET runs the request life cycle on this handler.
I would say that they are so close that it will be difficult for you to find a situation where the difference is noticeable.
Rex m
source share