<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Brian Delahunty&amp;#39;s Ramblings : IIS 7.0</title><link>http://blogs.iis.net/bdela/archive/tags/IIS+7.0/default.aspx</link><description>Tags: IIS 7.0</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>new IIS Manager for remote administration</title><link>http://blogs.iis.net/bdela/archive/2009/06/03/new-iis-manager-for-remote-administration.aspx</link><pubDate>Wed, 03 Jun 2009 18:56:21 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3208445</guid><dc:creator>bdela</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/bdela/rsscomments.aspx?PostID=3208445</wfw:commentRss><comments>http://blogs.iis.net/bdela/archive/2009/06/03/new-iis-manager-for-remote-administration.aspx#comments</comments><description>&lt;p&gt;It’s a bit strange that my “back-to-blogging” post is about a new version of Remote Manager considering that my last post, way back in March 2008 was a Remote Manager post as well (I have a good reason for not blogging since then which you’ll see at the end of this post :-)&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;What’s different?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The new version has some internal changes but the major new feature is the ability to remotely manage IIS 7 on Windows Server 2008 R2 machines as well as Windows Server 2008 machines. Another additional is the ability to use the tool from Windows 7.&lt;/p&gt;  &lt;p&gt;Other then these changes everything is the same as before.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;How do I get it?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Via Web PI:   &lt;br /&gt;&lt;a href="http://go.microsoft.com/?linkid=9655670"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" border="0" alt="Install Now with the Microsoft Web Platform Installer" src="http://i3.iis.net/themes/iis/images/wpiBadgeGreen.png?cdn_id={d0438422}" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The IIS.NET download center:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://www.iis.net/go/1626"&gt;IIS Manager for Remote Administration (x86)&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.iis.net/go/1633"&gt;IIS Manager for Remote Administration (x64)&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Microsoft.com download center:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=32c54c37-7530-4fc0-bd20-177a3e5330b7"&gt;Internet Information Services (IIS) Manager&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;What happened to Brian Delahunty’s Ramblings?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;So, the reason that I haven’t blogged since my last post on the original Remote Manager is pretty straight forward – I changed position in Microsoft back in March 08 from a Program Manager on the IIS team to a Software Design Engineer on the IIS team and have been busy working on projects such as &lt;a href="http://www.iis.net/extensions/WebDeploymentTool"&gt;Web Deployment Tool&lt;/a&gt;, &lt;a href="http://www.iis.net/extensions/DatabaseManager"&gt;Database Manager&lt;/a&gt;, &lt;a href="http://www.iis.net/extensions/ftp"&gt;FTP 7.5&lt;/a&gt;, &lt;a href="http://www.iis.net/extensions/SmoothStreaming"&gt;Smooth Streaming&lt;/a&gt;, &lt;a href="http://www.iis.net/extensions/AdminPack"&gt;Administration Pack&lt;/a&gt;, &lt;a href="http://www.iis.net/extensions/AdvancedLogging"&gt;Advanced Logging&lt;/a&gt;, &lt;a href="http://www.iis.net/extensions/DynamicIPRestrictions"&gt;Dynamic IP Restrictions&lt;/a&gt;, and more, and of course on IIS 7.5 on Windows 7/Windows Server 2008 R2. More entries to come soon :-)&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3208445" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/bdela/archive/tags/Remote+Administration/default.aspx">Remote Administration</category><category domain="http://blogs.iis.net/bdela/archive/tags/IIS+7.0/default.aspx">IIS 7.0</category><category domain="http://blogs.iis.net/bdela/archive/tags/Windows+7/default.aspx">Windows 7</category><category domain="http://blogs.iis.net/bdela/archive/tags/Windows+Server+2008+R2/default.aspx">Windows Server 2008 R2</category><category domain="http://blogs.iis.net/bdela/archive/tags/IIS+7.5/default.aspx">IIS 7.5</category></item><item><title>IIS 7 configuration: Extending existing Configuration</title><link>http://blogs.iis.net/bdela/archive/2008/03/10/iis-7-configuration-extending-existing-configuration.aspx</link><pubDate>Mon, 10 Mar 2008 07:58:02 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2222274</guid><dc:creator>bdela</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/bdela/rsscomments.aspx?PostID=2222274</wfw:commentRss><comments>http://blogs.iis.net/bdela/archive/2008/03/10/iis-7-configuration-extending-existing-configuration.aspx#comments</comments><description>&lt;p&gt;In my &lt;a href="http://blogs.iis.net/bdela/archive/2008/03/05/iis-7-configuration-basic-configuration-extensibility.aspx"&gt;last post&lt;/a&gt;[&lt;a href="http://blogs.iis.net/bdela/archive/2008/03/05/iis-7-configuration-basic-configuration-extensibility.aspx" target="_blank"&gt;^&lt;/a&gt;] I gave a quick overview of how to extend configuration. More specifically I covered extending configuration by adding new sections to configuration. One thing I also mentioned was that you can extending existing configuration sections too - that's what this post is about.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Extending the &amp;quot;sites&amp;quot; section     &lt;br /&gt;&lt;/strong&gt;To show how to extend existing configuration I'm going to add two new attributes which are configurable for sites. We're going to an an &lt;em&gt;owner&lt;/em&gt; and an &lt;em&gt;ownerEmail&lt;/em&gt; attribute (a slightly less contrived example than the last post :-)&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Note: do not do this on a production environment - you should &lt;font color="#ff0000"&gt;never, ever, ever&lt;/font&gt; play around with extending configuration on a system that is in production use!&lt;/strong&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;In the %windir%\system32\inetsrv\config\schema directory, create a file called extendExisting.xml &lt;/li&gt;    &lt;li&gt;Add the following to the file:      &lt;br /&gt;      &lt;div class="code"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;configSchema&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;         &lt;br /&gt;&amp;#160; &lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;sectionSchema&lt;/font&gt;&lt;font color="#ff0000"&gt; name&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;system.applicationHost/sites&amp;quot;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;collection&lt;/font&gt;&lt;font color="#ff0000"&gt; addElement&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;site&amp;quot;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;attribute&lt;/font&gt;&lt;font color="#ff0000"&gt; name&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;owner&amp;quot;&lt;/font&gt;&lt;font color="#ff0000"&gt; type&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;string&amp;quot;&lt;/font&gt;&lt;font color="#ff0000"&gt;&amp;#160;&lt;/font&gt;&lt;font color="#0000ff"&gt;/&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;attribute&lt;/font&gt;&lt;font color="#ff0000"&gt; name&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;ownerEmail&amp;quot;&lt;/font&gt;&lt;font color="#ff0000"&gt; type&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;string&amp;quot;&lt;/font&gt;&lt;font color="#ff0000"&gt;&amp;#160;&lt;/font&gt;&lt;font color="#0000ff"&gt;/&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/font&gt;&lt;font color="#800000"&gt;collection&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;         &lt;br /&gt;&amp;#160; &lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#800000"&gt;sectionSchema&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;         &lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#800000"&gt;configSchema&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;/font&gt; &lt;/div&gt;   &lt;/li&gt; &lt;/ol&gt;  &lt;p class="code"&gt;Ok, that's it - we've extended schema. Just remember, when extending the schema of an existing section, simply create a &lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;sectionSchema&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt; element and set the name attribute to be the same as an existing section. In the schema file above, we have defined a &lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;sectionSchema&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt; with a name of &lt;strong&gt;system.applicationHost/sites&lt;/strong&gt; - this is the same as the sectionSchema name in the IIS_Schema.xml file in the Schema directory.&lt;/p&gt;  &lt;p class="code"&gt;&lt;strong&gt;Testing the new attributes&lt;/strong&gt;    &lt;br /&gt;Let's do a quick test to see if our new attributes are working. Run the following command to add an owner and ownerEmail to the &amp;quot;Default Web Site&amp;quot;:&lt;/p&gt;  &lt;p class="code"&gt;&lt;strong&gt;%windir%\system32\inetsrv\appcmd set site &amp;quot;Default Web Site&amp;quot; /owner:&amp;quot;Master Chief&amp;quot; /ownerEmail:&amp;quot;john117@contoso.com&amp;quot;&lt;/strong&gt;&lt;/p&gt;  &lt;p class="code"&gt;You can quickly check to see if the configuration has been applied by running the following:&lt;/p&gt;  &lt;p class="code"&gt;&lt;strong&gt;%windir%\system32\inetsrv\appcmd list site &amp;quot;Default Web Site&amp;quot; /config&lt;/strong&gt;&lt;/p&gt;  &lt;p class="code"&gt;Your output should look something like the following:&lt;/p&gt;  &lt;div class="code"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;system.applicationHost&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;     &lt;br /&gt;&amp;#160; &lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;sites&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/div&gt; &lt;font color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160; ...&lt;/font&gt;&lt;font color="#000000"&gt;   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;site&lt;/font&gt;&lt;font color="#ff0000"&gt; name&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;Default Web Site&amp;quot;&lt;/font&gt;&lt;font color="#ff0000"&gt; id&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;1&amp;quot;&lt;/font&gt;&lt;font color="#ff0000"&gt; siteOwner&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;Master Chief&amp;quot;&lt;/font&gt;&lt;font color="#ff0000"&gt; siteOwnerEmail&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;john117@contoso.com&amp;quot;&amp;gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#800000"&gt;site&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;   &lt;br /&gt;&lt;font color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160; ...&lt;/font&gt;    &lt;br /&gt;&amp;#160; &lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#800000"&gt;sites&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;   &lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#800000"&gt;system.applicationHost&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;/font&gt;   &lt;p&gt;Done :-)&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;More On Extensibility      &lt;br /&gt;&lt;/strong&gt;This was a very short example of how to extend existing configuration sections. I'll be posting a few more entries about config system extensibility over the next few days and I'll cover extending config with code (including adding configuration 'methods') and a few other things.&lt;/p&gt;  &lt;p&gt;My last post, &lt;a href="http://blogs.iis.net/bdela/archive/2008/03/05/iis-7-configuration-basic-configuration-extensibility.aspx"&gt;IIS 7 Configuration: Basic Configuration Extensibility&lt;/a&gt;[&lt;a href="http://blogs.iis.net/bdela/archive/2008/03/05/iis-7-configuration-basic-configuration-extensibility.aspx" target="_blank"&gt;^&lt;/a&gt;], covered the basics of configuration extensibility.&lt;/p&gt;  &lt;p&gt;In the mean time, have a read of this Config System Extensibility article I published a while back: &lt;a title="http://learn.iis.net/page.aspx/241/configuration-extensibility/" href="http://learn.iis.net/page.aspx/241/configuration-extensibility/"&gt;http://learn.iis.net/page.aspx/241/configuration-extensibility/&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2222274" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/bdela/archive/tags/IIS+7.0/default.aspx">IIS 7.0</category><category domain="http://blogs.iis.net/bdela/archive/tags/Configuration/default.aspx">Configuration</category><category domain="http://blogs.iis.net/bdela/archive/tags/Extensibility/default.aspx">Extensibility</category></item><item><title>IIS 7 Configuration: Basic Configuration Extensibility</title><link>http://blogs.iis.net/bdela/archive/2008/03/05/iis-7-configuration-basic-configuration-extensibility.aspx</link><pubDate>Thu, 06 Mar 2008 05:59:09 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2215498</guid><dc:creator>bdela</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/bdela/rsscomments.aspx?PostID=2215498</wfw:commentRss><comments>http://blogs.iis.net/bdela/archive/2008/03/05/iis-7-configuration-basic-configuration-extensibility.aspx#comments</comments><description>&lt;p&gt;In IIS 7 we introduced a completely new configuration system which is used by the IIS runtime and all our administration tools. The configuration system is based on distributed XML files that contain the configuration for IIS, ASP.NET and other components; flexibility in the configuration system also allows for configuration to be set at a a number of levels including at the server, the site and the application level. Configuration at the site and application level coexists alongside ASP.NET configuration in web.config files.&lt;/p&gt;  &lt;p&gt;One of my favourite and in my opinion one of the coolest features of our new config system is that the configuration system itself is extensible. You can quickly and easily extend config with your own attributes, collections, etc. and in fact we use config system extensibility on some of the downloadable modules we ship (e.g. FTP 7.0, and some more to come in the near future... you'll see them on IIS.NET in the next few days)&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;What do I mean by extensible?&lt;/strong&gt;     &lt;br /&gt;Well, the config system is XML based and configuration definition exists in schema files which are located at %windir%\system32\inetsrv\config\schema. You can go there and look at the IIS_schema.xml file to see the schema definition of the IIS 7 config system. &lt;em&gt;&lt;font size="2"&gt;(As a side note, looking at the pre-installed files in the schema directory is a great way to learn more about configuration options in IIS 7.)&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;So, by extensibility I mean you have the ability to extend configuration with your own schema and get the full usage of the IIS 7 configuration APIs automatically. You can create new configuration sections, extend existing sections and you can even have configuration which is backed by a COM components...&lt;/p&gt;  &lt;p&gt;Which begs the question... why?&lt;/p&gt;  &lt;p&gt;Simple answer: Open up rscaext.xml and have a look there - we extended our own configuration system to provide additional functionality for you.&lt;/p&gt;  &lt;p&gt;If you Install FTP 7 (download &lt;a href="http://www.iis.net/go/1619"&gt;here&lt;/a&gt;[&lt;a href="http://www.iis.net/go/1619" target="_blank"&gt;^&lt;/a&gt;] - note that you'll have to remove FTP 6 if it's installed) and then look at the new schema file it adds you'll see that we extend existing configuration sections and add news ones... the FTP runtime can make use of one of the plethora of ways to interact with the config system (appcmd.exe,&amp;#160; native config API, managed config api, etc.) There was no need to build a new config system or manually parse XML files.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Adding a new config section&lt;/strong&gt;     &lt;br /&gt;Ok, so lets add a new config section - in this case, a very contrived one. We're going to add a new configuration section under &lt;em&gt;system.webServer&lt;/em&gt; called &lt;em&gt;Ireland&lt;/em&gt; with an attribute called nationalHoliday.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Note: do not do this on a production environment - you should &lt;font color="#ff0000"&gt;never, ever, ever&lt;/font&gt; play around with extending configuration on a system that is in production use!&lt;/strong&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;In the %windir%\system32\inetsrv\config\schema directory, create a file called ireland.xml &lt;/li&gt;    &lt;li&gt;Add the following to the file:      &lt;br /&gt;      &lt;div class="code"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;configSchema&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;          &lt;br /&gt;&amp;#160; &lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;sectionSchema&lt;/font&gt;&lt;font color="#ff0000"&gt; name&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;system.webServer/ireland&amp;quot;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;          &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;attribute&lt;/font&gt;&lt;font color="#ff0000"&gt; name&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;nationalHoliday&amp;quot;&lt;/font&gt;&lt;font color="#ff0000"&gt; type&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;string&amp;quot;&lt;/font&gt;&lt;font color="#0000ff"&gt; /&amp;gt;          &lt;br /&gt;&amp;#160; &amp;lt;/&lt;/font&gt;&lt;font color="#800000"&gt;sectionSchema&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;          &lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#800000"&gt;configSchema&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;/font&gt;         &lt;br /&gt;&lt;/div&gt;      &lt;p&gt;Next, we need to register our new configuration section so that the configuration system will recognize the schema as being valid and in use. &lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Open the primary IIS configuration file, %windir%\system32\inetsrv\config\applicationHost.config.&lt;/li&gt;    &lt;li&gt;Look for the &lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;configSections&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt; section and add to &lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;section&lt;/font&gt;&lt;font color="#ff0000"&gt; name&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;ireland&amp;quot;/&amp;gt;&lt;/font&gt; under the system.webServer sectionGroup. You should have something like:      &lt;br /&gt;&lt;/li&gt;    &lt;div class="code"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;configSections&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;       &lt;br /&gt;&amp;#160; ...        &lt;br /&gt;&amp;#160; &lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;sectionGroup&lt;/font&gt;&lt;font color="#ff0000"&gt; name&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;system.webServer&amp;quot;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;section&lt;/font&gt;&lt;font color="#ff0000"&gt; name&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;ireland&amp;quot;/&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; ...        &lt;br /&gt;&amp;#160; &amp;lt;/&lt;/font&gt;&lt;font color="#800000"&gt;sectionGroup&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;       &lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#800000"&gt;configSections&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;/font&gt; &lt;/div&gt; &lt;/ol&gt;  &lt;p&gt;That's it. Configuration has been extended. So, let's test it. Run the following command at the command line:&lt;/p&gt;  &lt;div class="code"&gt;&lt;strong&gt;%windir%\system32\inetsrv\appcmd list config -section:system.webServer/ireland&lt;/strong&gt; &lt;/div&gt;  &lt;p&gt;You should get output of:&lt;/p&gt;  &lt;div class="code"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;system.webServer&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;     &lt;br /&gt;&amp;#160; &lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;ireland&lt;/font&gt;&lt;font color="#ff0000"&gt;&amp;#160;&lt;/font&gt;&lt;font color="#0000ff"&gt;/&amp;gt;     &lt;br /&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#800000"&gt;system.webServer&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;/font&gt; &lt;/div&gt;  &lt;p&gt;Now, let's set the national holiday for the Default Web Site - just run:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;appcmd set config &amp;quot;Default Web Site&amp;quot; -section:system.webServer/ireland /nationalHoliday:&amp;quot;St. Patricks Day&amp;quot;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Now, let's check the config for default web site:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;%windir%\system32\inetsrv\appcmd list config &amp;quot;Default Web Site&amp;quot; -section:system.webServer/ireland&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;You're output should be something like:&lt;/p&gt;  &lt;div class="code"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;system.webServer&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;     &lt;br /&gt;&amp;#160; &lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;ireland&lt;/font&gt;&lt;font color="#ff0000"&gt; nationalHoliday&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;St. Patricks Day&amp;quot;&lt;/font&gt;&lt;font color="#ff0000"&gt;&amp;#160;&lt;/font&gt;&lt;font color="#0000ff"&gt;/&amp;gt;     &lt;br /&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#800000"&gt;system.webServer&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;font color="#000000"&gt;&lt;/font&gt; &lt;/div&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Wohoo!!! We've just extended config with a very contrived example. You could now read that configuration using all of the config system APIs.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;More On Extensibility     &lt;br /&gt;&lt;/strong&gt;This was a very short example of how to do basic extensibility. I'll be posting a few more entries about config system extensibility over the next few days and I'll cover extending existing sections, extending config with code (including adding configuration 'methods') and a few other things.&lt;/p&gt;  &lt;p&gt;In the mean time, have a read of this Config System Extensibility article I published a while back: &lt;a title="http://learn.iis.net/page.aspx/241/configuration-extensibility/" href="http://learn.iis.net/page.aspx/241/configuration-extensibility/"&gt;http://learn.iis.net/page.aspx/241/configuration-extensibility/&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2215498" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/bdela/archive/tags/IIS+7.0/default.aspx">IIS 7.0</category><category domain="http://blogs.iis.net/bdela/archive/tags/Configuration/default.aspx">Configuration</category><category domain="http://blogs.iis.net/bdela/archive/tags/Extensibility/default.aspx">Extensibility</category></item><item><title>Open for business...</title><link>http://blogs.iis.net/bdela/archive/2007/07/18/open-for-business.aspx</link><pubDate>Wed, 18 Jul 2007 22:51:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1811234</guid><dc:creator>bdela</dc:creator><slash:comments>4</slash:comments><description>&lt;P&gt;Well, I've finally gotten around to this. Since joining Microsoft and the IIS team I've been wanting to get this blog up and running but this small thing called "work" kept getting in the way. Today I've decided that enough is enough - time to get off my Irish ass and take 30 minutes to setup the blog, steal &lt;A href="http://blogs.msdn.com/robburke" target=_blank mce_href="http://blogs.msdn.com/robburke"&gt;Robert Burkes&lt;/A&gt; template and write this post (along with a very annoying image rotator for the image at the top of the blog).&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The obligatory "What can you expect from this blog"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Well, probably a lot of interesting (or maybe uninteresting)&amp;nbsp;posts about IIS 7 and the occasional post about IIS 6 and before. Mainly things about administration and configuration (the two areas I own) and lots of stuff about server extensibility.&lt;/P&gt;
&lt;P&gt;So, that's it. I'll get around to posting something interesting soon. I promise. Honest.&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=1811234" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/bdela/archive/tags/Microsoft/default.aspx">Microsoft</category><category domain="http://blogs.iis.net/bdela/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.iis.net/bdela/archive/tags/General/default.aspx">General</category><category domain="http://blogs.iis.net/bdela/archive/tags/IIS+7.0/default.aspx">IIS 7.0</category></item></channel></rss>