Extending IIS Configuration

Play Extending IIS Configuration
Sign in to queue

Description

This video demonstrates how to extend configuration. You'll learn how to use the XML configuration in IIS 7.0 and above to store your own custom configuration elements. You'll also learn how to extend existing configuration objects with your own metadata. Then, you'll learn how to use existing IIS tools and Powershell to access and modify your custom configuration.

Tag:

IIS

Embed

Download

Download this episode

The Discussion

  • User profile image
    Raj

    Thanx for the Video on how to add Custom attributes to AppHostConfig. I'm using Microsoft.Web.Adminstration 7.0 to read all the Web Services used by the Site. For this, I need to read the system.serviceModel/endpoint/client tag in the web.config of the Site. I'm facing problem in this and need your help...
    My approach is
    Configuration webConfig = site.GetWebConfiguration();
    webConfig.GetSection("system.serviceModel/endpoint");
    The error message : system.serviceModel cannot be read because it is not in schema.
    I cannot add a new custom schema file because it's a Production Server.
    Also, system.serviceModel is not a custom tag
    Using this approach, I can read all ConnectionStrings and AppSettings of the Site.

Add Your 2 Cents