How can I view web pages in a browser tab INSIDE Visual Studio 2010 with CHROME? - visual-studio

I'm not talking about launching an external browser with "browse with".
I want to pull up a random web page in a browser window INSIDE VS2010,
but use CHROME instead of IE to render the web page.
I'm just so completely done with IE. Thanks!
I'd consider a VS IDE add-on or add-in or extension or whatever they are calling it nowadays,
and I'll entertain building one with Chromium if there's enough demand,
but I dont' want to have to do that...
thanks!

Related

How to show / unhide Web Essential bar from chrome?

I've checked autohide and the bar disappeared but now how can I see it again?
It's enough to press CTRL from inside Chrome.
To see the Web Essentials menu in Chrome when using Visual Studio 2015:
Ensure you've installed Web Essentials 2015 - https://visualstudiogallery.msdn.microsoft.com/ee6e6d8c-c837-41fb-886a-6b50ae2d06a2
Click the 'View in Browser' button in Visual Studio to view your site:
The Web Essentials menu will appear as an overlay at the bottom of your web page
Press CTRL in Chrome to toggle the Web Essentials menu on or off
CTRL works inside of Internet explorer as well.
Note that you have to have BrowserLink enabled. Otherwise Ctrl doesn't do anything.
Note, this feature is no longer available in Visual Studio 2017 update 3 as the author, madskristensen states:
It was removed for several reasons.
It interfered too much with the DOM of the running page
It didn't work when the various features were split out into their own extension
I build this Chrome extension to replace it
Link to image of evidence is below.(Not enough rep to show image on post)
Author of web essentials explaining why the tool bar is not suitable for the browser
Link to issue on github
There is a WebEssentials2015-Settings.json file which contains default settings for web essentials (e.g. for VS2015 it is \AppData\Roaming\Microsoft\VisualStudio\14.0\WebEssentials2015-Settings.json).
After I clicked autohide the only way for me to bring the web essentials menu back in the browsers was to edit this file setting the ShowMenu to true ("ShowMenu": true). That fixed the issue for me.
One note though, this file seems to be read on VS startup so you may need to restart VS to see the difference. Also these settings can be separately set for each solution (Web Essentials > Create solution settings). This option creates the .json file specific for given solution.

Default Browser- Visual Web Developer Express 2010

I am trying to debug a Windows Azure WebRole which is an MVC3 project, but I want it to launch in any browser of my choice.
The Windows Azure is set as the Startup Project and launches the MVC3 project WebRole.
I am using Visual Studio Web Developer Express 2010.
I have previously stabbed in the dark by setting the following properties as in the image below but to no avail:
I then decided to set the project to not independently launch a page as above.
Is there a way to setup a default browser with the above scenario AND without changing my Windows default browser?
I've gotten around this in the past by adding in an ASPX or HTML page to the project and then right clicking it and selecting Browse With. You can then change the default browser in there without having to change your default browser within windows.
I haven't tried this with the Express edition however, but I don't see why they wouldn't include it in there.
You can delete the file afterwards and it will still retain the setting.
How about this:
WoVS Default Browser Switcher
http://visualstudiogallery.msdn.microsoft.com/bb424812-f742-41ef-974a-cdac607df921
You right on the page shown in solution explorer and then browse with whatever browser you want to set and add it as default browser.

How to launch silverlight with IE in Visual Studio while Google Chrome stays default for usual browsing

I cannot debug silverlight with Google Chrome. I don't want to change default browser to IE for my normal internet browsing.
How to only ask to run IE when running a silverlight project in Visual Studio ?
In Visual Studio you can specify the browser to use when running a web project. Right click on the start webpage in your web project and click on the Browse With option.
In the dialog that appears click on Chrome and set it to default.
This will not change you default browser in Windows.
Right Click on ClientBin it is in your Projectweb.and change the default browser or remove the un wanted browser then click ok. Thats it.
or
ProjectWeb->Browse with->change the default browser->ok
Or, just install the IETab extension for Chrome, then set it to automatically run the Silverlight page in IE mode.
https://chrome.google.com/webstore/detail/ie-tab/hehijbfgiekmjfkfjpbkbammjbdenadd

Clear ASP.NET MVC3 browser debug preview in Visual Studio 2010

How can I clear the cache of the web browser in such a way that it will show me the updated page when I run a debug of a ASP.NET MVC3 application in Visual Studio 2010?
Is there some easy way to do it?
The problem is that I'm working on a project and every time I modify something in the CSS style the debug "preview" in the web browser window will not update. Even if I recompile, rebuild the solution and so on.
I normally press F5 (in the browser) to fully reload the page, and all referenced resources.
This works in any browser I know (IE, FF, Chrome, Opera).

How To Prevent Tab Hell With Visual Studio And FireFox Debugging?

How do I keep VS from opening a new tab in Firefox every time I hit F5 to debug a web application? I would really like it to re-use the same tab.
This may not work for you but, in a project's properties on the Web tab there is a setting described as "Don't open a page. Wait for a request from an external application." All the developers at my company have this set and then just use bookmarks to load our pages.

Resources