BLOGS BY TOPIC▼
BLOGS BY AUTHOR▼
BLOGS BY YEAR▼
Visual Studio is a great tool for developing websites using ASP.NET - it can be made even greater by tweaking some default settings. Use this blog to change the default start-up options, assign a navigate backward key, insert attribute quote marks and open pages in HTML view by default.
- Visual Studio - default settings to change for ASP.NET
- Changing Visual Studio Start-Up Options
- Opening Visual Studio pages in HTML view by default (this blog)
- Inserting Attribute Quote Marks Automatically
- Creating a Navigate Backward Key
Posted by Andy Brown on 02 August 2011
You need a minimum screen resolution of about 700 pixels width to see our blogs. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.
Opening Visual Studio pages in HTML view by default
When you open a page in Visual Studio, by default you see it first in design view. The first thing you then have to do is often to switch to HTML view:

You can click on the tab to switch to HTML view.
To tell Visual Studio 2010 to open files automatically in HTML view, from the menu select Tools -> Options... then:

Complete the dialog box as shown below
The steps to follow for the dialog box are:
- Select the General section of the HTML Designer tab.
- Choose to start pages in Source View.
When you exit Visual Studio and go back in, any web page that you load will now be opened in HTML editing view.
- Visual Studio - default settings to change for ASP.NET
- Changing Visual Studio Start-Up Options
- Opening Visual Studio pages in HTML view by default (this blog)
- Inserting Attribute Quote Marks Automatically
- Creating a Navigate Backward Key