Click here to Skip to main content
Click here to Skip to main content

Improve Productivity using Visual Studio 2012 Default Browser Switcher

, 28 Jun 2012
Rate this:
Please Sign up or sign in to vote.
If you are a web developer and use Visual Studio to design and develop web applications, this post will help you to improve your productivity. Last year we discussed how to improve your productivity using the “Default Browser Switcher Extension” in Visual Studio 2010.   Now here comes another post

If you are a web developer and use Visual Studio to design and develop web applications, this post will help you to improve your productivity. Last year we discussed how to improve your productivity using the “Default Browser Switcher Extension” in Visual Studio 2010.

 

Now here comes another post which will show you how to use the in-built “Browser Switcher” extension available in Visual Studio 2012. I hope that, once you start working in Visual Studio 2012, this will definitely help you to increase your productivity.

 

What is Browser Switcher Extension?

Let us discuss this in a different way. You as a web developer might faced some issues while building and testing your web application. Your web application should be tested in various browsers for various layout issues before you freeze working on that part and that stuff is very pathetic. Either you have to open various browsers and paste the URL to check for layout issues or you have to open individual browsers to set them as default browser before running the app in debug mode. The first scenario is pretty easy if you are not running the app attached with the Visual Studio debugger.

 

Browser War

 

Now come to the browser switcher extension. This helps you to set the default browser within the Visual Studio IDE itself to run your application in that browser window without effecting the actual browser settings.

 

Last year I posted “Default Browser Switcher Extension for Visual Studio 2010 - Improve Productivity” which helped many of you to improve your productivity stuffs while building and testing your apps in different browser. If you are working in Visual Studio 2010, read that post. Continue reading to know about the browser switcher plugin in Visual Studio 2012.

 

How to use Browser Switcher in Visual Studio 2012?

Unlike Visual Studio 2010, you don’t have to install the Default Browser Switcher extension in Visual Studio 2012. It comes with the browser switching functionality in-built with the new IDE. You can directly access it from the debugger tool. Check out the following screenshot to know where you can get it:

 

Default Browser Chooser Option in Visual Studio 2012

 

By default, the default browser is “Internet Explorer”. If you want to run your web application in other browser installed in your PC, just click the small arrow head to open the below menu, which lists the installed browsers integrated to the IDE:

 

Default Browser Chooser Menu in Visual Studio 2012

 

If you don’t see the installed browser listed in the browser chooser menu, you can add it there by clicking the “Browse With…” menu item as shown above.

 

Once you click the “Browse With…” menu item, the following dialog will popup in the screen, where you will be able to add, remove installed browser and also set a browser as the default one:

 

Default Browser Chooser Window

 

Now once you add the new browser in the Visual Studio 2012 IDE, you will be able to see it in the browser chooser menu and you will be able to debug your web application with that browser directly from the Visual Studio IDE.

I hope that this blog post will be helpful for you to build and test your web application in various browsers to check out the layouts and functionality. Stay tuned to my blog to get article updates in coming days. Also connect with me on Twitter, Facebook to get regular updates. Subscribe to my blog’s RSS Feed and Email Newsletter for immediate update.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

_ Kunal Chowdhury _
Technical Lead
India India
Kunal Chowdhury is a Microsoft "Client Development" MVP (Most Valuable Professional), a Codeproject Mentor, Telerik MVP, Nokia Developer Champion, Speaker in various Microsoft events, Author, passionate Blogger and a Software Engineer by profession.
 
He is currently working in an MNC located in India. He has a very good skill over XAML, C#, Silverlight, Windows Phone, WPF and Windows 8 (WinRT). He posts his findings, articles in his technical blog and CodeProject.
 
Technical Blog: http://www.kunal-chowdhury.com
Facebook: http://facebook.com/blog.kunal
Twitter : http://twitter.com/kunal2383
Follow on   Twitter   Google+   LinkedIn

Comments and Discussions

 
QuestionAlso can't seem browser drop-down when editing .htm file (!) PinmemberCornan1-Jan-14 1:06 
QuestionCan't add browsers Pinmemberrfresh5-Sep-12 11:58 
AnswerRe: Can't add browsers Pinmvp_ Kunal Chowdhury _5-Sep-12 17:05 
GeneralRe: Can't add browsers Pinmemberrfresh5-Sep-12 17:24 
AnswerRe: Can't add browsers Pinmvp_ Kunal Chowdhury _5-Sep-12 17:35 
GeneralRe: Can't add browsers Pinmemberrfresh5-Sep-12 17:41 
GeneralRe: Can't add browsers Pinmemberrfresh6-Sep-12 8:52 
AnswerRe: Can't add browsers Pinmvp_ Kunal Chowdhury _6-Sep-12 8:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140709.1 | Last Updated 28 Jun 2012
Article Copyright 2012 by _ Kunal Chowdhury _
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid