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.
advertisement
- Getting to grips with Microsoft's IT Health Environment Scanner
- Virtualise your servers
- The changing face of travel gadgets
- Build your own distributed file system
- The bulletproof Dell that costs an arm and a leg
- Microsoft Office 2010 Technical Preview: Q&A
- Lawnmowers, the TyTN II and one odd insurance request
- There'll never be a bulletproof OS
- How far can we trust apps?
- Five nice touches in Outlook 2010
- Why Britain's watchdogs have fewer teeth than goldfish
- Tabbed documents: how to make Office 2010 great
- Outlook 2010 People Pane – does it spell death to Xobni
- Microsoft Outlook 2010 screenshots
- Co-Authoring in Word 2010 and SharePoint Foundation 2010
- Microsoft Outlook 2010 screenshots: Backstage view
- Flash 10.1: Developing for Desktop and Device
- Microsoft Office 2010 screenshots: Recover unsaved items
- Microsoft Word 2010 screenshots: Text Effects
- Microsoft Word 2010: inserting screenshots
- Q&A: Why Conficker was a victim of its own success
- App developers losing faith in Android
- Biz Stone: Murdoch's Google veto will "fail fast"
- Google adds automatic captions to YouTube
- China ramps up cyber spying
- Mozilla maintains dependence on Google
- Windows 7 flying off the shelves
- Google Chrome OS: full details unveiled
- AOL slashes 2,500 jobs
- YouTube begins streaming full-length shows
advertisement
Printed from www.pcpro.co.uk


