Modifying the web.config programatically from SharePoint
Posted on Thursday, 20 August 2009 13:26Just a quick post. As part of my automation tool for SharePoint I've been looking at making dynamic changes to the web.config file, and found the SPWebConfigModification class.
From the example on MSDN looks easy, as with so much of the SDK.
Now when I create a site collection dynamically I can pass codeblocks as safe in the web.config at the same time. This takes us 1 step closer to complete automation.
Tags: SharePoint