Daniel Little Coding Blog
Daniel Little Coding Blog

A blog about .net development and the web.

Our Newsletter

Like this blog? Get each new post as soon it's posted.



Daniel Little Coding Blog


SharePoint WebConfig Modifications

Example for adding or removing a webconfig modification in SharePoint 2010. private void UpdateWebConfig(string name, string path, string owner, SPWebConfigModification.SPWebConfigModificationType type, string value, SPWebApplication app, bool removeModification) { if (removeModification) { var removals = app.WebConfigModifications.Whe…

Daniel Little