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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T02:50:34+00:00 2026-05-11T02:50:34+00:00

I just created a ASP.NET MVC project in VS2008. When I press F5 to

  • 0

I just created a ASP.NET MVC project in VS2008.

When I press F5 to debug the current view in my browser, it open the URL of the ASPX file :

http://localhost/Views/MyController/Index.aspx

instead of :

http://localhost/MyController

How to make it open the good URL ?

  • 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. 2026-05-11T02:50:35+00:00Added an answer on May 11, 2026 at 2:50 am

    You’ve got start action set to Current Page in the Web tab of the project properties.

    Change it to Specific Page and leave the specific page text box blank.

    Edit: from the comments attached to this answer we’ve established that what would be desirable is for VS to heursitically determine that given that the current page in the editor is ‘Views/Products/Index.aspx’ we would like VS to start a debugging session at /Products.

    This is too much to be asking of VS right now.

    The alternative might seem to always be starting from the root and navigating in.

    However you can edit the Specific Page text box to the path you’d like it to start. If you are debugging the above view then entering ‘Products’ in the text box would probably be the closest you’d get to the goal.

    You’d have to keep changing the content of the Specific Page text box each time you want to repeatedly test a different view.

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

Sidebar

Related Questions

I just created a ASP.NET MVC project and was able to build and browse
I have an ASP.NET MVC 3 project that I just created using the project
I am completely new to ASP.Net MVC. I just created an MVC3 project in
I just created an ASP .NET MVC 4 WebAPI project. In looking at the
I'm just starting out learning ASP.NET MVC. I'm working on a project created with
I created a stongly typed view in an ASP.Net MVC project I'm working on,
I'm just starting out with ASP.net MVC 3 and I've created an empty project.
I'm new to asp.net mvc. I just created the default asp.net mvc project in
I've just created a fresh ASP.NET MVC 4 solution and have added 3 Areas
I've just installed ASP.NET MVC on my Vista x64 box, and created a default

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.