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

  • Home
  • SEARCH
  • 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 7711157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:18:18+00:00 2026-06-01T01:18:18+00:00

Is MapPageRoute used only on WebForms while MapRoute for MVC? Or are these applicable

  • 0

Is MapPageRoute used only on WebForms while MapRoute for MVC?

Or are these applicable on both WebForms and MVC?

thanks

  • 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-06-01T01:18:20+00:00Added an answer on June 1, 2026 at 1:18 am

    MapPageRoute can be used when mapping a route to a specific .aspx file. MapRoute is used to map a route to a controller action.

    You can mix both WebForms and MVC in one application and then you would use those two mapping functions to create your routing.

    If you look at the MSDN documentation for MapPageRoute it states:

    Provides a way to define routes for Web Forms applications.

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

Sidebar

Related Questions

I have a MVC 2 project runnin in .net 3.5. There are some Webforms
I have successfully setup routing in Asp.Net 4.0 webforms. I have set up: routeCollection.MapPageRoute(Default
I'm trying to route a .aspx (webforms page) in my asp.net mvc project. I
Previously I was using Rewriter.net to rewrite my urls. I used a format like:
I am attempting to use the MapPageRoute feature in Visual Studio 2010 and .NET
In my global.asax I have url routing setup like below: routes.MapPageRoute(User Logon, {Vendor}/Logon, ~/Logon.aspx);
If I use routing with 2 query parameters, like this: System.Web.Routing.RouteTable.Routes.MapPageRoute(HomeRoute, home/{f1}/{f2}, ~/Home.aspx); My
I'm building a CMS using WebForms on .NET 4.0 and have the following route
I am going through a weird problem right now regarding routing in ASP.NET WebForms.
i have following RegisterRoutes method in global.asax of my web forms application` routes.MapPageRoute(about, about,

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.