Change the original debugger url in visual studio 2008 [ASP.NET MVC]

I was wondering if there is an option to change the debugger url when the debugger is initialized. I want it to start with http://localhost:xxxx/controller/view

, not just http://localhost:xxxx/

.

+2


a source to share


2 answers


To answer my own question, it can be done like this:



Go to your project, right click Properties

, then go to Web

, then change Start Action

Start Url

to http://{port}/{controller}/{view}

, then click the radio button Use Visual Studio Development Server

and click the radio button Specific Port

on the port in yours Start Url

and leave Virtual Path

before "/"

0


a source


Using Visual Studio? I think you can change the default page to / Controller / View in the properties window ... I'm not sure what the designer will allow you (because it doesn't appear in the file), but you can then edit the project file directly to input it. ..



Sometimes it removes / controller / view for the default controller.

0


a source







All Articles