Visual Studio .NET Tips & Tricks

Helpful information for Visual Studio .NET developers

Tip: Edit ASP.NET configuration file

Posted by Ion Toma on April 16, 2006

There is general belief that in VS.NET there is no good editor for ASP.NET configuration file or any kind of a viewer for navigating the hierarchy. As we know, the config file is in XML format and usually is a complex file, it will save a lot of time if we have a way to find fast an element,

In fact, there is a way in VS.NET to deal with this problem: go to View > Other Windows > Document outline. The result is a logical navigation on the different nodes in the configuration file (which is in XML format) and you can drill down, find things that you want to take a look at.
The same principle applies to ASPX files, the Document Outline show the different controls we may have in that file. If we switch to HTML mode, then it will show also the tags and metatags in the HTML, this will save a lot of time for complex/big files.

Configuration File - Image 4

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: