Click here to Skip to main content
15,881,812 members
Articles / Web Development

Improve Productivity using Visual Studio 2012 Default Browser Switcher

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
28 Jun 2012CPOL3 min read 18.1K   5   8
How to improve productivity using Visual Studio 2012 default browser switcher

Image 1If 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 have 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 stuff 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 another 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)


Written By
Technical Lead
India India

Kunal Chowdhury is a former Microsoft "Windows Platform Development" MVP (Most Valuable Professional, 2010 - 2018), a Codeproject Mentor, Speaker in various Microsoft events, Author, passionate Blogger and a Senior Technical Lead 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 app development. He posts his findings, articles, tutorials in his technical blog (www.kunal-chowdhury.com) and CodeProject.


Books authored:


Connect with Kunal on:





Comments and Discussions

 
QuestionAlso can't seem browser drop-down when editing .htm file (!) Pin
Cornan1-Jan-14 1:06
Cornan1-Jan-14 1:06 
QuestionCan't add browsers Pin
rfresh5-Sep-12 11:58
rfresh5-Sep-12 11:58 
AnswerRe: Can't add browsers Pin
Kunal Chowdhury «IN»5-Sep-12 17:05
professionalKunal Chowdhury «IN»5-Sep-12 17:05 
GeneralRe: Can't add browsers Pin
rfresh5-Sep-12 17:24
rfresh5-Sep-12 17:24 
AnswerRe: Can't add browsers Pin
Kunal Chowdhury «IN»5-Sep-12 17:35
professionalKunal Chowdhury «IN»5-Sep-12 17:35 
There's no virus here. It's my Technology blog. You can find all the separate link downloadables from MSDN there.
Regards - Kunal Chowdhury
Microsoft MVP (Silverlight) | Codeproject MVP & Mentor | Telerik MVP & Insider


Follow me on: My Technical Blog | Silverlight-Zone | Twitter | Facebook | Google+

GeneralRe: Can't add browsers Pin
rfresh5-Sep-12 17:41
rfresh5-Sep-12 17:41 
GeneralRe: Can't add browsers Pin
rfresh6-Sep-12 8:52
rfresh6-Sep-12 8:52 
AnswerRe: Can't add browsers Pin
Kunal Chowdhury «IN»6-Sep-12 8:55
professionalKunal Chowdhury «IN»6-Sep-12 8:55 

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

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