Friday, July 01, 2016

How to run web browsers in private mode using Visual Studio 2015

Hi All,

I'd like to share a cool tip when running web applications in Visual Studio by opening your web browsers in private mode if you are using Internet Explorer or incognito mode if you are using chrome.

This is a needed practice especially if you are sharing different logins using the same browser and you want to avoid cached logins issues.

Follow these steps to add private mode browsers in Visual Studio 2015:

1) From any html or View page in Visual Studio, right click and click on Browser with.


2) Click on Add button to add IE in private mode.
3) Enter the following values for IE private mode and then click ok:
Program: C:\Program Files (x86)\Internet Explorer\iexplore.exe
Arguments: -private


For Chrome enter the following:
Program: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Arguments: -incognito

Now, you will be able to run web applications in browsers' private mode in Visual Studio 2015.



Hope this helps!



No comments: