![]() To create a custom configuration section handlerĬreate a public class that implements the interface, as illustrated in the following code. ASP.NET uses the configuration object to read and write to your custom configuration element. The configuration object that the handler class returns can be any data structure it is not limited to any base configuration class or configuration format. The section handler interprets and processes the settings defined in XML configuration elements within a specific portion of a Web.config file and returns an appropriate configuration object based on the configuration settings. If you use the following code examples, please build them with the. For an example that uses the class, see How to: Create Custom Configuration Sections Using ConfigurationSection. This topic uses the interface, which has been deprecated in the.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |