How to change default web browser when debug/run a web site? - visual-studio-2010

Currently, as stated here, I have to 1) find a web page file and 2) right click to select Browse with... to open the dialog which lets me to configure the web browser to start with.
Is it possible to open that dialog quickly from menu/hotkey/toolbar? Please share.
More information
Start with this
Will open this

There is a great Visual Studio Extension for this: “Default Browser Switcher”
http://blog.wovs.com/2010/08/make-it-easy-to-change-default-browser.html
Update:
is VS2013, this has been added as a default feature:

can you try "ctl" + "shift" + "w" , and set the browser you want as default browser from the browser it self.
please inform me if that was helpful

Related

Why am i not seeing the security tab in my Office Solution properties?

I recently published an office solution as a click once application on my one drive. My client downloaded it from there and when he tried to install, it gave him this error.
I want to republish it by making it a full trust application but i cannot find the security tab in project properties.
Thanks in advance.
I had the same issue and the solution was super annoying to figure out. Someone on another website mentioned that the Security tab is only relevant for certain types of ClickOnce applications so I started playing around with various options and figured it out.
In the Application tab, for Application Type, select Windows Forms Application from the drop-down menu (other drop-down options might also work but haven't tried them)
Save everything: In the main menu bar of Visual Studio, click File > Save All.
Close your project Properties window (i.e. the one with the Application tab that we were just modifying)
Open your project Properties window again: in your Solution Explorer, select your project, go to the main menu bar, click Project, click Properties.
Voila! It should be there. :)

CRM Advanced Find all the icons in wrong place

I've just loaded up the advanced find and I cant click on half the icons/drop downs as they are all in the wrong place. It works fine on other servers and other machines. It appears as if its a CSS problem. Any Ideas
I had the same problem in Firefox. (In private mode, there was no problems.)
Steps to fix it:
Goto/Open the CRM Site
Open Developer Tools
Go to Console Tab
Enter the following command:
localStorage.clear(); // remove all of localStorage's properties
Several users reported this issue, the cause is not clear yet, however these are the suggested steps:
1) Try with another browser
2) Clean the browser cache
3) if CRM site is inside the Internet Explorer compatibility mode list remove it
4) if CRM site is not inside the Internet Explorer compatibility mode list add it
localStorage.clear();
This did the job for me on Chrome
For Edge, a less severe fix is:
From the CRM app tab or window, F12 for Debugging tools
Select the Application tool from the tool bar,
Expand Local Storage on the left,
Below that select the line that has the URL for your CRM
Right-click, select Clear.
Restart Edge.
Open Edge settings
Click the Reset Settings button
Restart session
Go to Internet Options
Go to Security Tab
Click On Trusted Sites then Sites and Add CRM Site to Trusted items
Recommended to click on Custom Level and disable Pop-Up Blocker
Now Problem is solved

Visual Studio - Web Development and Debugging

I'm doing some web development and when I push the debug button it starts off with the selected tab and it is really annoying because it will throw errors because those pages are not meant to be ran at first. Is there a way to have visual studio always run a default page first?
Right click the page you want to be the start page and select "Set As Start Page:"
Check out the Web Application's Properties Window, Web Tab. It has a box where you can enter the URL to load upon starting debugging.
That is; Right-click on the project item in the Solution Explorer, choose 'Properties', then click the Web tab, and select the proper option for your needs.
You can also right-click on your desired start page and select Set as Start Page.

Display in Firefox than IE in webapplication

How should I change the settings in VS 2010 so I can display the result (by pressing F5) of my Asp.net MVC application in Firefox instead of IE?
To use Firefox just for one particular project, you can update project properties and set external program to run.
Basically using this technique you can set any browser for any particular project, if you don't want or can't change system default browser.

Debugging Web Apps in Visual Studio 2010 Is Annoying

I just starting working with Visual Studio and I find that debugging web apps is rather annoying. After making a change and clicking f5 it sends you to localhost:port/ however many times you are not editing localhost:port/ but you are editing localhost:port/someOtherFile, so you can see how this can be pretty annoying.
I am hoping that there is a way to optimize this. Ideally I would want to be able to hit f5 and have it just refresh whatever tab in my browser has localhost:port/whatever/youGetThePoint If this is possible it would make for some really nice debugging because many times you would never even have to click the browser.
Also, why do we have to hit shift+f5 to stop debugging. Why not just f5...
EDIT: I am using MVC2
In Visual Studio, right click on the file (Mypage.aspx -?) you want to start debugging with and select "Set As Start Page."
This will automatically open that page instead of root.
Click on your application in the solution manager
View -> Property Pages
Select the 'Web' tab on the left
Set 'Start Action' to a specific page.
You can select any page in the web project to be the startup page - once you click F5, the browser will start at that page.
Two things you can do:
You can set your web application to use your local IIS for debugging. I'm assuming you're using the standard settings that get setup whenever you create a new web app project.
To set your project to use IIS first make sure you have IIS installed on your dev machine. Select the web application project from the Solution Explorer and then right click. Hit the properties selection. The first tab on the right (build), should allow you to configure IIS to have an application for your project. It will eliminate the port number part and should be a bit easier to navigate around in.
Second thing you can do is find the page you want to go directly to and right click on it and set it as the start page ("Set As Start Page").
Also, you can Google for a Visual Studio macro that will attach to the IIS worker proc so you don't have to refresh what the browser is currently doing. You can also go to the debug menu item and select "Attach to Process..." and then find the worker proc and attach to it.
I believe Start Options might do the trick for you.
Right-click on the project, and select "Start Options..."
On the Start Options dialog under "Start action" heading, you may specify a page or start URL.

Resources