21 lines
1.5 KiB
Markdown
21 lines
1.5 KiB
Markdown
|
---
|
||
|
title: "[How Do I:] Create and Use a Custom Configuration Section in an ASP.NET Configuration File | Microsoft Docs"
|
||
|
author: rick-anderson
|
||
|
description: "In this video Chris Pels will show how to extend the standard set of ASP.NET configuration settings with your own XML configuration elements. First, see how..."
|
||
|
ms.author: aspnetcontent
|
||
|
manager: wpickett
|
||
|
ms.date: 04/16/2008
|
||
|
ms.topic: article
|
||
|
ms.assetid: fa9ed773-cceb-49d0-a939-5a9e6bbae00f
|
||
|
ms.technology: dotnet-webforms
|
||
|
ms.prod: .net-framework
|
||
|
msc.legacyurl: /web-forms/videos/how-do-i/how-do-i-create-and-use-a-custom-configuration-section-in-an-aspnet-configuration-file
|
||
|
msc.type: video
|
||
|
---
|
||
|
[How Do I:] Create and Use a Custom Configuration Section in an ASP.NET Configuration File
|
||
|
====================
|
||
|
by [Chris Pels](https://twitter.com/chrispels)
|
||
|
|
||
|
In this video Chris Pels will show how to extend the standard set of ASP.NET configuration settings with your own XML configuration elements. First, see how to create a configuration section handler which is required to interpret and process the information in custom XML configuration elements. During this learn how to use declarative model for defining the behavior of a configuration section handler. Next, see how to add a custom section handler and custom elements to an ASP.NET configuration file. Finally, see how to programmatically access the custom configuration data.
|
||
|
|
||
|
[▶ Watch video (19 minutes)](https://channel9.msdn.com/Blogs/ASP-NET-Site-Videos/how-do-i-create-and-use-a-custom-configuration-section-in-an-aspnet-configuration-file)
|