Web.config Code Samples


Many of the discussions in this book evolve around configuration settings placed in configuration files. The configuration data is inherited from application roots that already exist in the Web address. For example, consider the sample URL http://localhost/SomeApplication/page.aspx. Some configuration data specified in the machine.config file can be overridden in a web.config file placed in the physical directory of the Default Web Site. Again, in the SomeApplication directory, settings can be modified in a web.config file.

To avoid a lot of code samples being named web.config, throughout the book we have used more descriptive names for configuration files. When using the sample .config files, remember to rename them to web.config, or the sample .ASPX pages will not behave as expected.




Microsoft ASP. NET Coding Strategies with the Microsoft ASP. NET Team
Microsoft ASP.NET Coding Strategies with the Microsoft ASP.NET Team (Pro-Developer)
ISBN: 073561900X
EAN: 2147483647
Year: 2005
Pages: 144

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net