Modifying web.config in SharePoint

Introduction This post covers how to modify web.config through object model in SharePoint. Changes to the web.config should not be done manually which is a bad practice. Modifications should be done through SPWebConfigModification class object and the complete track of changes will be saved in configuration database. This is the best practice to be used […]

November 2, 2013 В· Adi В· No Comments
Tags: , , ,  В· Posted in: C#, Sharepoint 2010

Modifying web.config with Powershell

Introduction In this post we will see how we can Add / Delete a node to web.config with PowerShell in SharePoint 2010. Most of times we consider web.config as nothing but a common xml files. But, changes that are done to a node and who is the owner of a particular node in web.config will […]

April 27, 2012 В· Adi В· No Comments
Tags: , , ,  В· Posted in: Powershell, Sharepoint 2010