If you are using Visual studio on daily basis for development then you are familiar about to change default browser setting as per shown in below fig.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBdoHDO5M_GvivuFI7rpaoarerbpt3mKYBoUsIsENGmeALMMWRVdh8xbcEyzH3qRKqAfqcP3Aiv52cHGQs7fj9txl5yUEnyoOyCt8-A6i2S9MtBb14BB4OpgA_61Wd0n-TIMOcIQfQd-5j/?imgmax=800)
Right click on any aspx page and click "browse with" will open window with installed browser list and you can set default browser for that application.
But if you are working with MVC3 application where aspx page is not available then how you can change this setting? because browse with option only available with aspx or html page
Some person prefer to add extra aspx page or html page to application change this setting, however i explore alternate way to do this as per below..
Following are steps i have followed to change my default browser to chrome
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizofQXEwr3zhFySYd7XOQjeF13pkGKMyxnViV_RXPzy9iebX4MzZ_9jFNKnFs_KyYnMmKyg4OLkghWyIEQvuhf9YDfIvZuoEp4-IWJHu6XzY5unlE-4dwKV4l-3Y44g44utrZAxse1bo-f/?imgmax=800)
![](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_uO16A6I88CqRm511-X3BIA4kpe8zaql5R_hD3RmZo-UGBgJqvEt5fM5chk8KaolN7tGhRVIzeY1RCYtJ9sJfgdDeOYquV1LldlEI6354Cx6Qf6b3UskKEEC0xEvW4ClhlW7wg9Q9SoGwP3SgI=s0-d)
Right click on any aspx page and click "browse with" will open window with installed browser list and you can set default browser for that application.
But if you are working with MVC3 application where aspx page is not available then how you can change this setting? because browse with option only available with aspx or html page
Some person prefer to add extra aspx page or html page to application change this setting, however i explore alternate way to do this as per below..
Following are steps i have followed to change my default browser to chrome
- Open the web project properties
- Go to Web tab
- In Start Action section select Start external program and then add chrome executable path and the url as Command line arguments.
- In Servers section set specific port to the same port set in the URL in step 3.
No comments:
Post a Comment