It’s true that .NET application deployment is a lot like tailoring a suit: one size does not fit all. Fortunately, ASP.NET comes with a rich and powerful configuration system that allows us to manage application settings very closely.
This chapter will briefly cover the basics of configuration, then step through a few tricks that you can use to get the most out of your configuration efforts.
ASP.NET provides the Web.config file for the storage of application settings. So how exactly do we store and retrieve simple settings using this file?
appSettings section of the Web.config file will be sufficient to store our configuration settings in many ...