Skip to navigation
Real World Computing

Configuring ASP.NET

Posted on 20 Feb 2006 at 12:07

Thomas Lee looks at how to manage and configure ASP.NET, together with IIS and HTTP

What's in Web.Config?

With classic ASP, you stored information about a website in the IIS Metabase, which made it hard to modify your website from a remote location. If you wanted to add a custom 404 error page, you'd have needed to make this change via the IIS admin tool (typically sitting in front of the web server). With ASP.NET, these configuration settings now live in web.config files that can be deployed along with your app. You can use web.config to specify a variety of settings, including custom error pages, authentication and authorisation settings for the whole website, or for just part of your site, compilation options for the ASP.NET web pages, whether tracing should be enabled, and more.

You can find more information about ASP.NET configuration at msdn.microsoft.com. For details of the format of web.config files, see msdn. microsoft.com. asp?url=/library/en-us/cpguide/html/cpconformatofconfigurationfiles.asp. Finally, KB article 815179 (support.microsoft.com) describes how to create the web.config file for an ASP.NET app. Next month, I plan to look at how to deploy .NET apps, the Global Assembly Cache and the use of publisher policies.

1 2 3 4 5
Subscribe to PC Pro magazine. We'll give you 3 issues for £1 plus a free gift - click here

From around the web

Be the first to comment this article

You need to Login or Register to comment.

(optional)

advertisement

Latest Real World Computing
Latest Blog Posts Subscribe to our RSS Feeds
Latest News Stories Subscribe to our RSS Feeds
Latest ReviewsSubscribe to our RSS Feeds

advertisement

Sponsored Links
 
SEARCH
SIGN UP

Your email:

Your password:

remember me

advertisement


Hitwise Top 10 Website 2010
 
 

PCPro-Computing in the Real World Printed from www.pcpro.co.uk

Register to receive our regular email newsletter at http://www.pcpro.co.uk/registration.

The newsletter contains links to our latest PC news, product reviews, features and how-to guides, plus special offers and competitions.