Creating Custom Sections in Web.config : Azamsharp

Web.config consists of different configuration sections which allow the developer to configure the application specific to their needs. ASP.NET 2.0 also allows you to create your own custom sections. In this article we will learn how to create a custom Web.config section. Inheriting a Class from ConfigurationSection: In this article I will create a simple config section that will enable the developer to write the name of the data access class. The first thing that you need to do is to create a class which inherits from the ConfigurationSection class. Take a look at the code below:...

Read More:
Creating Custom Sections in Web.config : Azamsharp

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment