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.
From around the web
advertisement
- How to make Google AdWords work for your business
- The curse of sloppily written software
- Paying for your crimes with Bitcoin
- Behind the scenes: tech support for Formula 1
- The security risk of fat fingers
- Why Windows Phone 7 isn't quite ready for business
- When will Microsoft stop fiddling with Windows 8?
- Flash down the pan?
- Metro Style apps vs desktop applications
- Coping with Facebook changes
- Chrome's shine getting lost in translation
- BytePac: the cardboard hard disk enclosure
- How tech loosens our grip on reality
- Hokum watch: Safer Internet Day
- Why I'm deleting Adobe from my PC
- Prepare to be patronised: it's Safer Internet Day
- Dear Sony, Samsung and every other tech company in the world: stop trying to be Apple
- Will Apple's Final Cut Pro X update placate the pros?
- Smartr Contacts for iPhone review
- Switching to Office 365's Outlook Web App
- VeriSign slammed for security breach cover-up
- SAP willing to share HANA with Oracle
- Why using a tablet could harm your health
- New RIM boss: no need for drastic change
- RIM founders fall on their swords
- Slow economy helps boost Red Hat revenue by 23%
- Google+ pages get multiple admins
- One in five companies lack card industry compliance
- Oil industry warns hacking attacks could kill
- British workers fear email monitoring
advertisement

