Update the SharePoint Web.config file efficiently in Web hosting environment

[Background Information]
The Internet SharePoint Web application has staging and production Web hosting environment.The external users only can access to staging Web site folders via FTP / FTPS, and so it's inconvenienced to update the production Web.config file frequently for them.

[Solution]
In this case, I designed a ASP.NET Web Application which provides a interface to merge the changes to production Web.config file.

Firstly,  external developers login to the Web application with their windows authentication credentials.  The Web application will list Web.config files in staging and production environment for the SharePoint Web application, and then developer chooses which web.config file to be merged and also uploads the XML file which contains the changed sections of the Web.config file. Once submit the change, the Web application will backup the existing Web.config file, and then apply the changes.

If the merged is successful, the Web application will send the update successfully email to developer. Otherwise, the Web application will roll back the changes to original Web.config file and then inform the developer. The Web application also provides a "rollback" button to rollback the changes manually. All merged events will be logged into a text file in the server.

I received good feedback from customers like "It decreases the number of incident tickets and accelerates the go live process of Web sites."   
   

Comments

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete

Post a Comment

Popular posts from this blog

Top JavaScript courses helping you develop SPFx webPart with ReactJS and AngularJS

Effective LLM Prompting skills

Enable the Microsoft Power BI report file type (.pbix) in SharePoint Search