<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.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>Publishing</title><link>http://forums.iis.net/1033.aspx</link><description>A forum to discuss questions about FrontPage Server Extensions, FTP, and other publishing methods available in the IIS platform</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Configure Webdav Authoring Rules via code?</title><link>http://forums.iis.net/thread/1881416.aspx</link><pubDate>Tue, 07 Oct 2008 04:18:25 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881416</guid><dc:creator>ksingla</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1881416.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1033&amp;PostID=1881416</wfw:commentRss><description>&lt;p&gt;It certainly possible using MWA itself. Below are two articles which explain editing configuring sections using MWA.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://learn.iis.net/page.aspx/165/how-to-use-microsoftwebadministration/"&gt;http://learn.iis.net/page.aspx/165/how-to-use-microsoftwebadministration/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://learn.iis.net/page.aspx/166/accessing-configuration-sections-using-microsoftwebadministration-mwa/"&gt;http://learn.iis.net/page.aspx/166/accessing-configuration-sections-using-microsoftwebadministration-mwa/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you don&amp;#39;t know what section or property name to pass, look at the webdav schema in %windir%\system32\inetsrv\config\schema and try to make sense out of it.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Kanwal&lt;/p&gt;</description></item><item><title>Configure Webdav Authoring Rules via code?</title><link>http://forums.iis.net/thread/1881408.aspx</link><pubDate>Mon, 06 Oct 2008 22:54:08 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881408</guid><dc:creator>KeithHutch</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1881408.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1033&amp;PostID=1881408</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Ok, I was reading this article on how to use AppCmd via the command line&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;a href="http://learn.iis.net/page.aspx/352/how-to-manage-webdav-using-appcmd/" title=" How to Configure WebDAV Settings Using AppCmd"&gt;How to Configure WebDAV Settings Using AppCmd&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I actually need to do this via scripting interface if possible.&lt;/p&gt;&lt;p&gt;&amp;nbsp;For instance I am creating a virtual directory via code like this:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim iisManager As New Microsoft.Web.Administration.ServerManager()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim app As Microsoft.Web.Administration.Application = iisManager.Sites(&amp;quot;Default Web Site&amp;quot;).Applications(&amp;quot;/&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.VirtualDirectories.Add(&amp;quot;/Users/&amp;quot; &amp;amp; &amp;quot;keith&amp;quot; , &amp;quot;C:\keith&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iisManager.CommitChanges()&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;The code above creates my virtual directory for my webdav site &amp;quot;Default Web Site&amp;quot;.&lt;/p&gt;&lt;p&gt;I now need to do something similar for creating the Authoring Rules via code if possible.&amp;nbsp; The link above shows how to do this via command line but I want to do it without having to shell a command line process.&lt;/p&gt;&lt;p&gt;Is this possible?&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>