When is routing performed in the ASP.NET MVC pipeline?
ASP.NET Application Lifecycle Overview for IIS 7.0
Is he in step number 2 (Performing URL Mapping)?
I intend to have multiple routes with id
"Activate / {ID}"
"forgotpassword / {ID}"
I would like to have access to the identifier at an early stage in pipline in step 4 - AuthenticateRequest. So that I can transfer the authentication token through the identification part of the URL to my user authentication module.
So, can I access the id property in my custom authentication module, or do I need to manually extract it from the request URL?
Thank you for your help,
Duncan