<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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/"><channel><title>Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx</link><description>Microsoft.Web.Administration is a new API in IIS 7 that allows developers using Managed Code to read and manipulate the server configuration in a simple yet powerfull API.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#577363</link><pubDate>Mon, 17 Apr 2006 09:42:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:577363</guid><dc:creator>Robert McLaws</dc:creator><description>That might possibly be the coolest thing I've ever seen IIS do.</description></item><item><title>Interesting Finds</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#577425</link><pubDate>Mon, 17 Apr 2006 13:22:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:577425</guid><dc:creator>Jason Haley</dc:creator><description /></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#580409</link><pubDate>Fri, 21 Apr 2006 09:42:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:580409</guid><dc:creator>R.Krishnam Raju</dc:creator><description>Its Wonderful and very cool.&lt;br&gt;special thanks to Mr. carlos, Microsoft and Microsoft communities.&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#580426</link><pubDate>Fri, 21 Apr 2006 10:10:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:580426</guid><dc:creator>Klok</dc:creator><description>Waauuu, we will be saving so many lines of code and using this extensive.</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#580535</link><pubDate>Fri, 21 Apr 2006 14:19:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:580535</guid><dc:creator>Mark A. Richman</dc:creator><description>Does this modify the (what used to be) metabase? When dealing with several web servers in a cluster, will I still need to sync the metabases (or .config files) across nodes, or can I *finally* centralize all this on a NAS via UNC?</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#580568</link><pubDate>Fri, 21 Apr 2006 15:32:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:580568</guid><dc:creator>David.Wang</dc:creator><description>Mark - IIS7 does not use the metabase to store configuration. It is totally within .config files.&lt;br&gt;&lt;br&gt;There is a Legacy ABO Compatibility component (completely optional, but installed by default) which you can install to capture all legacy API calls to configure the metabase and transparently translate it into .config settings.&lt;br&gt;&lt;br&gt;You will still need to synchronize config settings across servers in a cluster, though if you run the same command remotely it'd do the same.&lt;br&gt;&lt;br&gt;I have yet to understand the need to have IIS read configuration from a UNC share vs ability to copy the same IIS configuration to multiple machines. They accomplish the same objective; you can view one as a local-cached version of the other. Central UNC share sounds cooler but is more fragile, so why???&lt;br&gt;&lt;br&gt;In other words, suppose you get what you want -- the &amp;quot;centralized&amp;quot; config file on NAS via UNC. All that means is that after IIS calls CreateFile to get a handle to the file, read/write to the file can now RANDOMLY fail as IIS works with various sections of the file (and underneath the scenes, network traffic is getting used to fulfill the read/write).&lt;br&gt;&lt;br&gt;What should IIS do? Bail on first error? Bail after retrying 5 times in 5 seconds (but suppose you are modifying config -- where do they go)? Cache the change locally and periodically propagate back to the UNC (but explain how this is any better than IIS reading local .config file and a separate &amp;quot;syncing&amp;quot; service periodically syncing changes between multiple locations?&lt;br&gt;&lt;br&gt;In other words -- please explain your real scenario and requirements, not how you think we should implement things.&lt;br&gt;&lt;br&gt;//David</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#580649</link><pubDate>Fri, 21 Apr 2006 17:40:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:580649</guid><dc:creator>Mark A. Richman</dc:creator><description>David,&lt;br&gt;&lt;br&gt;Say, for example, you have several IIS nodes behind a load balancer. Then, you expose a user-facing control panel application that modifies the metabase for a feature like Application Roots, for example. This requires the replication of the &amp;quot;master&amp;quot; metabase (the one where the control panel made the change) to all the &amp;quot;slave&amp;quot; IIS nodes. This can't occur realtime because of the sheer volume of updates occurring to the metabase. So, you have to replicate on a schedule - say, every 5 minutes. David,&lt;br&gt;&lt;br&gt;Say, for example, you have several IIS nodes behind a load balancer. Then, you expose a user-facing control panel application that modifies the metabase for a feature like Application Roots, for example. This requires the replication of the &amp;quot;master&amp;quot; metabase (the one where the control panel made the change) to all the &amp;quot;slave&amp;quot; IIS nodes. This can't occur realtime because of the sheer volume of updates occurring to the metabase. So, you have to replicate on a schedule - say, every 5 minutes.&lt;br&gt;&lt;br&gt;What a NAS/UNC based configuration store (metabase) buys you is a way out of the replication scenario. However, there still exists the random fail issue as you described. Ideally, I’d like to see a realtime replication method similar to Active Directory. Here, there are multiple peer nodes, where any change is replicated to the other nodes. Maybe this can be accomplished via a pure in-memory database with replication via two-phase commit across IIS nodes. Maybe a heartbeat service between IIS nodes? Just brainstorming here. &lt;br&gt;&lt;br&gt;- Mark</description></item><item><title>Novidades do IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#581830</link><pubDate>Mon, 24 Apr 2006 04:57:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:581830</guid><dc:creator>Oneda</dc:creator><description>O Scott Guthrie, do time de produtos Web da Microsoft, escreveu um post bem interessante sobre as novidades...</description></item><item><title>What's new with IIS 7 administration ?</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#581846</link><pubDate>Mon, 24 Apr 2006 06:05:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:581846</guid><dc:creator>Server: Microsoft-IIS/6.0\r\n </dc:creator><description>Though IIS 7 still support WMI, ABO, etc administrative interface, but you will love this new managed...</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#582165</link><pubDate>Mon, 24 Apr 2006 17:26:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:582165</guid><dc:creator>Christopher G. Lewis</dc:creator><description>Can you create AppPools with the new interface?&lt;br&gt;&lt;br&gt;I've been beating myselft up for a couple of months trying to figure out how to create an app pool via the WMI interface. &amp;nbsp;I've resorted to using ADSI, but I hear that's going away...&lt;br&gt;&lt;br&gt;Chris</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#582427</link><pubDate>Mon, 24 Apr 2006 23:56:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:582427</guid><dc:creator>Jim B</dc:creator><description>How about adding a &amp;quot;re-read config files&amp;quot; function to allow central config storage and after editing the config, telling each machine to re-read the file to flush the servers internal cache?</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#582610</link><pubDate>Tue, 25 Apr 2006 04:36:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:582610</guid><dc:creator>Mark A. Richman</dc:creator><description>Not a bad idea, considering change notification doesnt work on metabase.xml.</description></item><item><title>Настройки IIS 7 — ApplicationHost.config, Administration.config и Web.config [Ка</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#583591</link><pubDate>Wed, 26 Apr 2006 01:01:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:583591</guid><dc:creator>Олег Михайлик</dc:creator><description>Прошли старые добрые деньки. Реестр закапывают в землю, бинарные форматы закапыв</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#583707</link><pubDate>Wed, 26 Apr 2006 04:09:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:583707</guid><dc:creator>CarlosAg</dc:creator><description>Yes you can create application pools as well as enumerate, remove them and even recycle them.</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#585090</link><pubDate>Thu, 27 Apr 2006 17:44:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:585090</guid><dc:creator>ryfm</dc:creator><description>ну и слава богу, тока блин, когда еще смогу перетащить клиентов на 7ку...</description></item><item><title>Microsoft.Web.Administration en IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#598898</link><pubDate>Tue, 16 May 2006 17:06:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:598898</guid><dc:creator>Internet Information Services</dc:creator><description>Carlos Aguilar, del equipo de IIS 7 y desarrollador de la nueva consola y el nuevo API de administraci&amp;amp;#243;n...</description></item><item><title>Evolution of HTTP on Windows Platform</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#599660</link><pubDate>Wed, 17 May 2006 09:48:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:599660</guid><dc:creator>Technology 'n Me (Sukesh)</dc:creator><description>Before the boom of web and internet, HTTP was not so common is everyday life. When internet became more...</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#602807</link><pubDate>Sat, 20 May 2006 23:20:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:602807</guid><dc:creator>Gopinath</dc:creator><description>Is there a way to Push data to client (Push Server ) using IIS 7? (ex live stock update !)</description></item><item><title>Cool new IIS7 Features and APIs</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#603641</link><pubDate>Mon, 22 May 2006 10:42:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:603641</guid><dc:creator>ScottGu's Blog</dc:creator><description>IIS7 is a major upgrade of IIS, and will ship in both Windows Vista as well as Windows Longhorn Server.&amp;amp;amp;nbsp;...</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#1992937</link><pubDate>Fri, 30 Mar 2007 10:47:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1992937</guid><dc:creator>Unknown</dc:creator><description>&lt;p&gt;&amp;lt;a href=' &lt;a rel="nofollow" target="_new" href="http://filmsmovies.jedo.info/action-movie-downloads.html"&gt;http://filmsmovies.jedo.info/action-movie-downloads.html&lt;/a&gt; '&amp;gt;action movie downloads&amp;lt;/a&amp;gt;&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#4581348</link><pubDate>Mon, 27 Aug 2007 04:43:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4581348</guid><dc:creator>Ali AYEN</dc:creator><description>&lt;p&gt;ServerManager iisManager = new ServerManager();&lt;/p&gt;
&lt;p&gt;iisManager.Sites.Add(&amp;quot;NewSite&amp;quot;, &amp;quot;http&amp;quot;, &amp;quot;*:8080:&amp;quot;, &amp;quot;d:\\MySite&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt;--&amp;gt;&amp;gt; iisManager.Update();&lt;/p&gt;
&lt;p&gt;I think .Update() method is replaces with .CommitChanges()&lt;/p&gt;
</description></item><item><title>Using the IIS 7.0 Managed Configuration API</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#5192411</link><pubDate>Fri, 28 Sep 2007 23:51:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5192411</guid><dc:creator>CarlosAg Blog</dc:creator><description>&lt;p&gt;More than a year ago I wrote about Microsoft.Web.Administration.dll and how it was a new API we were&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#5624904</link><pubDate>Tue, 23 Oct 2007 17:45:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5624904</guid><dc:creator>Mick</dc:creator><description>&lt;p&gt;Can this be used to manage remote IIS servers within the same AD group? &lt;/p&gt;
&lt;p&gt;mick dot walker at gmail dot com&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#5626215</link><pubDate>Tue, 23 Oct 2007 18:42:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5626215</guid><dc:creator>CarlosAg</dc:creator><description>&lt;p&gt;Yes, you can use it to manage IIS 7 running in Windows Vista SP1 or Windows Server 2008 but only from a client running Windows Vista SP1 or Windows Server 2008. The way to do it is creating a ServerManager like this:&lt;/p&gt;
&lt;p&gt;ServerManager remoteManager = ServerManager.OpenRemote(&amp;quot;yourServer&amp;quot;);&lt;/p&gt;
</description></item><item><title>Using the IIS 7.0 Managed Configuration API</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#5656815</link><pubDate>Thu, 25 Oct 2007 00:12:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5656815</guid><dc:creator>Noticias externas</dc:creator><description>&lt;p&gt;More than a year ago I wrote about Microsoft.Web.Administration.dll and how it was a new API we were&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#5668258</link><pubDate>Thu, 25 Oct 2007 16:32:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5668258</guid><dc:creator>Mick Walker</dc:creator><description>&lt;p&gt;Thanks for your reply Carlos.&lt;/p&gt;
&lt;p&gt;Do you know where I can find some 'good' documentation on this?&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#5669947</link><pubDate>Thu, 25 Oct 2007 17:52:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5669947</guid><dc:creator>Mick Walker</dc:creator><description>&lt;p&gt;Also is there anyway to control FTP settings for a Site?&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#6165287</link><pubDate>Tue, 13 Nov 2007 11:22:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6165287</guid><dc:creator>Mick Walker</dc:creator><description>&lt;p&gt;When using FTP 7.0 with IIS 7.0 and using Microsoft.Web.Administration how do add ftp settings to a web site? Or do I have to manually edit the .config files xml to add it?&lt;/p&gt;
&lt;p&gt;If not supported, would this feature be supported in future?&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#6174311</link><pubDate>Tue, 13 Nov 2007 17:26:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6174311</guid><dc:creator>CarlosAg</dc:creator><description>&lt;p&gt;You can absolutely use Microsoft.Web.Administration for that, however you will either need to use the loosely typed model (ConfigurationSection, ConfigurationElement, etc) or you will need to create your own strongly typed classes for it.&lt;/p&gt;
&lt;p&gt;For example if you want to set something in the site, you can use:&lt;/p&gt;
&lt;p&gt;ConfigurationElement ftpServer =ServerManager.Sites[&amp;quot;Default Web Site&amp;quot;].GetChildElement(&amp;quot;ftpServer&amp;quot;);&lt;/p&gt;
&lt;p&gt;And then use that for anything you need, also FTP defines several sections as well that you can use GetSection() over a Configuration object.&lt;/p&gt;
</description></item><item><title>有关IIS7概述以及配置和开发的几篇文章摘录</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#7005897</link><pubDate>Sun, 06 Jan 2008 16:26:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7005897</guid><dc:creator>PrideRock</dc:creator><description>&lt;p&gt;IIS7伴随着Vista已经悄悄来临，学习的时候我也摘录了一些有关于此的文章。 不敢独享，还是贴出来大家共享吧！&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#7703372</link><pubDate>Fri, 15 Feb 2008 03:04:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7703372</guid><dc:creator>MarkDubya</dc:creator><description>&lt;p&gt;Will this all be exposed to the (VB) scripting engine?&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#9299062</link><pubDate>Thu, 08 Jan 2009 20:15:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9299062</guid><dc:creator>Marcel Meyer</dc:creator><description>&lt;p&gt;Hi Carlos,&lt;/p&gt;
&lt;p&gt;How do I query the current memory usage of a Site?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Marcel&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#9516708</link><pubDate>Sun, 29 Mar 2009 08:03:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9516708</guid><dc:creator>Матвей</dc:creator><description>&lt;p&gt;Интересную тему для вордпресса поставили. Сами делали или стандартную какую брали? :)&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#9633429</link><pubDate>Thu, 21 May 2009 10:41:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9633429</guid><dc:creator>Tazeem Ansari</dc:creator><description>&lt;p&gt;Hi Carlos ,&lt;/p&gt;
&lt;p&gt;I am facing that create a virtual director from C# code without having admin previliages the code is &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.DirectoryServices.DirectoryEntry oDE;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.DirectoryServices.DirectoryEntries oDC;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.DirectoryServices.DirectoryEntry oVirDir;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;oVirDir = null;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// check whether to create FTP or IIS virtual directory&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (IsFTP)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;oDE = new DirectoryEntry(&amp;quot;IIS://&amp;quot; + deploymentServerName + &amp;quot;/MSFTPSVC/1/Root&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;oDE = new DirectoryEntry(&amp;quot;IIS://&amp;quot; + deploymentServerName + &amp;quot;/W3SVC/1/Root&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string directoryEntryNameStr = oDE.Name;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;now tell me a solution when I can create a virtual directory without being admin to windows Vista.&lt;/p&gt;
&lt;p&gt;I clicked IIS6.0 metadata and configuration compatibilty and manament from window feature on/off/&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#9633973</link><pubDate>Thu, 21 May 2009 19:37:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9633973</guid><dc:creator>CarlosAg</dc:creator><description>&lt;p&gt;For security reasons you cannot add a virtual directory unless you are an administrator. &lt;/p&gt;
&lt;p&gt;You can imagine that if a non-administrator was able to expose a random directory over the URL namespace of the site would be a bad idea.&lt;/p&gt;
</description></item><item><title>IIS 7管理API——Microsoft.Web.Administration介绍</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#9640146</link><pubDate>Mon, 25 May 2009 11:41:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9640146</guid><dc:creator>Safe3</dc:creator><description>&lt;p&gt;本文翻译整理自CarlosAguilarMares的blog文章：Microsoft.Web.AdministrationinIIS7。&lt;/p&gt;
&lt;p&gt;请注意本文的内容均基于WindowsVista...&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#9644958</link><pubDate>Thu, 28 May 2009 00:02:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9644958</guid><dc:creator>ddnguyen73</dc:creator><description>&lt;p&gt;Can we use the Microsoft.Web.Administration from a Windows Server 2008 to remotely manage IIS 6 running on Windows Server 2003? &amp;nbsp;Where is the Microsoft.Web.Administration located? &amp;nbsp;Is it part of .Net or Windows?&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#9645007</link><pubDate>Thu, 28 May 2009 00:38:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9645007</guid><dc:creator>CarlosAg</dc:creator><description>&lt;p&gt;Unfortunately you can only use it to manage a Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2 server. &lt;/p&gt;
&lt;p&gt;It is not distributed with .net but instead is part of IIS.&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#9645080</link><pubDate>Thu, 28 May 2009 01:26:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9645080</guid><dc:creator>ddnguyen73</dc:creator><description>&lt;p&gt;Are they any major changes to the Microsoft.Web.Administration API's in IIS 7.5?&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#9762489</link><pubDate>Tue, 16 Jun 2009 18:08:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9762489</guid><dc:creator>Kev</dc:creator><description>&lt;p&gt;I am using VS2008 on an XP machine and cannot see the Microsoft.Web.Administration namespace. I guess this is because it is part of IIS7, which is not on the development machine. The finished code is to run on an IIS 7 server. I'd like to create a reference but don't know where to find one. Can anyone help please?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#9762558</link><pubDate>Tue, 16 Jun 2009 18:48:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9762558</guid><dc:creator>Kev</dc:creator><description>&lt;p&gt;Update: I installed the IIS Remote Manager on the XP dev machine thinking I might get the dll with it, but it appears not...&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#9823021</link><pubDate>Tue, 07 Jul 2009 21:18:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9823021</guid><dc:creator>童貞卒業</dc:creator><description>&lt;p&gt;童貞卒業を考えているなら、迷わずココ！今まで童貞とヤッた事がない女性というのは意外と多いものです。そんな彼女たちは一度童貞とやってみたいと考えるのは自然な事と言えるでしょう。当サイトにはそんな好奇心旺盛な女性たちが登録されています&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#9824355</link><pubDate>Wed, 08 Jul 2009 20:10:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9824355</guid><dc:creator>素人</dc:creator><description>&lt;p&gt;素人ホストでは日頃のストレスを発散したい、もう一度恋がしたい、そういた女性が癒しを求めて登録されています。当サイトは癒やされたい女性・寂しい女性を癒やす男性が集うカップリングサイトです&lt;/p&gt;
</description></item><item><title>re: Microsoft.Web.Administration in IIS 7</title><link>http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx#9827291</link><pubDate>Thu, 09 Jul 2009 21:05:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9827291</guid><dc:creator>熟女</dc:creator><description>&lt;p&gt;熟女だって性欲がある、貴方がもし人妻とSEXしてお金を稼ぎたいのなら、一度人妻ワイフをご利用ください。当サイトには全国各地からお金持ちのセレブたちが集まっています。女性から男性への報酬は、 最低15万円からと決めております。興味のある方は一度当サイト案内をご覧ください&lt;/p&gt;
</description></item></channel></rss>