Firefox is set as Windows' default browser.
I want to change the default browser used by Visual Studio for debugging. Normally the route I'd take to do this is right clicking on an .aspx file and setting the default from the Browse With...
dialog.
Unfortunately, ASP.NET MVC Views don't have the Browse With...
option.
In what other ways can you set the default browser for ASP.NET MVC projects?
Related, but NOT ASP.NET MVC specific:
Visual Studio opens the default browser instead of Internet Explorer
Just change the Controller/Action names to your desired default. That should be the last route in the Routing Table. In MVC 5. if you have a form login, when you click login on the home page, it will then still redirect to Home controller , not your custom controller specified in the route.
Tools -> Options -> Search for "browser" -> View Source in "external editor" -> put the path to your preferred.
Right click on an . aspx file and click "Browse with..." then select Chrome and click "Set as Default." You can select more than one browser in the list if you want.
For MVC1:
For MVC2:
For VS2010:
You can try this extension. It is safe, hopefully this will be added in the next releases of Visual Studio.
http://visualstudiogallery.msdn.microsoft.com/en-us/bb424812-f742-41ef-974a-cdac607df921
There appears to be an answer here
If you right click on any page other than default.aspx you will not get the "browse with" option.
So, when working on an ASP.NET MVC application, right click on default.aspx and chose "Browse With..." Then you'll get a dialog that will allow you to change your default browser.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With