Tobias Zimmergren 9/7/2010

SP 2010: Web Application settings (web.config) modifications in SharePoint 2010 via code

Read Original

This article explains how to automate web.config file modifications in SharePoint 2010 using a Web Application feature and the SPWebConfigModification class. It provides a code example for adding custom settings to web.config programmatically, eliminating the need for manual edits on each WFE. The guide covers basic implementation with a Feature Receiver, including activation and update steps, and notes that further tweaking is needed for removal and updates. Aimed at SharePoint developers and administrators, it offers a starting point for automating configuration changes.

SP 2010: Web Application settings (web.config) modifications in SharePoint 2010 via code

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet