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 6640907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:44:56+00:00 2026-05-25T23:44:56+00:00

I would like to make my ASP.NET web page URLs without .aspx extensions. I

  • 0

I would like to make my ASP.NET web page URLs without .aspx extensions. I can do it in two ways, use IIS7 URL Rewrite module or ASP.NET URL Routing. Which method to choose?

  • 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-25T23:44:56+00:00Added an answer on May 25, 2026 at 11:44 pm

    Use ASP.NET Routing. It’s the most up-to-date and right way to do that, since .NET 4.0.

    Read this thorough article regarding the subject written by the MSDN team (go to Which Option Should You Use?).

    Routing keeps the request-resource resolution logic within your application, so it’s very easy to add application-dependent logic when you need, and it eliminates the need to maintain synchronization between your application and a separate configuration resource.

    Quote from the article mentioned above:

    1. If you are developing a new ASP.NET Web application that uses either
      ASP.NET MVC or ASP.NET Dynamic Data technologies, use ASP.NET
      routing. Your application will benefit from native support for clean
      URLs, including generation of clean URLs for the links in your Web
      pages. Note that ASP.NET routing does not support standard Web Forms
      applications yet, although there are plans to support it in the
      future.

    2. If you already have a legacy ASP.NET Web application and do
      not want to change it, use the URL Rewrite module. The URL Rewrite
      module lets you translate search engine-friendly URLs into a format
      that your application currently uses. Also, it lets you create
      redirect rules that can be used to redirect search engine crawlers
      to clean URLs.

    Also read this thorough answer in SO: IIS URL Rewriting vs URL Routing

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

Sidebar

Related Questions

I would like to change the page names of a ASP.NET site to make
I'm working with ASP.Net MVC and I would like to make a web site
Im familiar with asp.net web forms. I would now like to move on to
I would like to make a database call in a partial view in asp.net
Is it possible to load external web-parts in an ASP.NET website? I would like
Using C# .NET 3.5 Framework here to make an .aspx web page. Anyways, the
I have an ASP.NET Web Forms application. I would like to create a download
I've got two different, but closely related ASP.Net web applications that use the same
In ASP.NET Webforms, I can use <%@ OutputCache Duration=3600 VaryByParam=none%> to cache a web
I have a simple ASP.NET Web User Control. It looks like this: <%@ Control

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.