Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5949301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:13:46+00:00 2026-05-22T17:13:46+00:00

When does routing take place in the ASP.NET MVC pipeline? ASP.NET Application Life Cycle

  • 0

When does routing take place in the ASP.NET MVC pipeline?

ASP.NET Application Life Cycle Overview for IIS 7.0

Is it in step number 2 (Perform Url Mapping)?

I intend to have a few routes that have an id

"activate/{id}"

"forgotpassword/{id}"

I would like to be able to access the id early on in the pipline in step 4 – AuthenticateRequest. So that I can pass an authentication token through the id part of the url to my custom authentication module.

So can I access the id property in my custom authentication module or do I have to manually extract it from the request url?

Thanks for your help,

Duncan

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:13:47+00:00Added an answer on May 22, 2026 at 5:13 pm

    It appears that the UrlRouting takes place at step number 9 – PostResolveRequestCache.

    So it does in fact take place after AuthenticateRequest which is step number 4.

    This is the document for UrlRoutingModule

    I looked up it’s Init() method in reflector and that is where it subscribes to the PostResolveRequestCache Event.

    So I guess now I have to try and write some code that elegantly extracts the token from the url manually..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anybody know how I use asp.net mvc routing to force any non ajax
Does ASP.NET MVC and WCF Web API use the same routing module for routing
I have created an otherwise empty ASP.NET MVC 3 application with 2 controllers, HomeController
I've been looking into ASP.NET Dynamic Data and how it does scaffolding and routing.
I'm just getting started with ASP.NET MVC. What is the difference between MapRoute and
Possible Duplicate: Biggest advantage to using ASP.Net MVC vs web forms I was reading
Hi Stackoverflow, Im trying to deploy a hybrid ASP.Net Webform/mvc-project onto iis7 but the
Does anyone know of a PHP routine where I can take an original image
I use asp.net c# 4. I have a class used for ImageRouteHandler. Images are
I am using the .NET 3.5 SP1 framework and I've implemented URL routing in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.