SP 2010: Web Application settings (web.config) modifications in SharePoint 2010 via code
Read OriginalThis 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.
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