{"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/xSharePoint/issues/219","repository_url":"https://api.github.com/repos/PowerShell/xSharePoint","labels_url":"https://api.github.com/repos/PowerShell/xSharePoint/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/xSharePoint/issues/219/comments","events_url":"https://api.github.com/repos/PowerShell/xSharePoint/issues/219/events","html_url":"https://github.com/PowerShell/xSharePoint/issues/219","id":141372966,"number":219,"title":"web.config modification","user":{"login":"tonyhxh","id":13992361,"avatar_url":"https://avatars.githubusercontent.com/u/13992361?v=3","gravatar_id":"","url":"https://api.github.com/users/tonyhxh","html_url":"https://github.com/tonyhxh","followers_url":"https://api.github.com/users/tonyhxh/followers","following_url":"https://api.github.com/users/tonyhxh/following{/other_user}","gists_url":"https://api.github.com/users/tonyhxh/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyhxh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyhxh/subscriptions","organizations_url":"https://api.github.com/users/tonyhxh/orgs","repos_url":"https://api.github.com/users/tonyhxh/repos","events_url":"https://api.github.com/users/tonyhxh/events{/privacy}","received_events_url":"https://api.github.com/users/tonyhxh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PowerShell/xSharePoint/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-16T19:11:23Z","updated_at":"2016-04-06T08:54:39Z","closed_at":"2016-03-17T20:38:18Z","body":"Is there a plan to create a resource module to update web.config of web apps?\r\n\r\nThanks\r\nTony Huang"},"comment":{"url":"https://api.github.com/repos/PowerShell/xSharePoint/issues/comments/206230849","html_url":"https://github.com/PowerShell/xSharePoint/issues/219#issuecomment-206230849","issue_url":"https://api.github.com/repos/PowerShell/xSharePoint/issues/219","id":206230849,"user":{"login":"ykuijs","id":15103891,"avatar_url":"https://avatars.githubusercontent.com/u/15103891?v=3","gravatar_id":"","url":"https://api.github.com/users/ykuijs","html_url":"https://github.com/ykuijs","followers_url":"https://api.github.com/users/ykuijs/followers","following_url":"https://api.github.com/users/ykuijs/following{/other_user}","gists_url":"https://api.github.com/users/ykuijs/gists{/gist_id}","starred_url":"https://api.github.com/users/ykuijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykuijs/subscriptions","organizations_url":"https://api.github.com/users/ykuijs/orgs","repos_url":"https://api.github.com/users/ykuijs/repos","events_url":"https://api.github.com/users/ykuijs/events{/privacy}","received_events_url":"https://api.github.com/users/ykuijs/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T08:54:39Z","updated_at":"2016-04-06T08:54:39Z","body":"Agree with your comment @MikeLacher448, over the past years I have pushed many developers towards using the WebConfigModifications class. The reasons behind this was first consistency, I have seen many environments where server1 would have different settings then server2, etc. Second, preventing manual changes (which may lead to the first issue). Many installation instructions contained manual steps for changing the web.config.\r\nThe WebConfigModifications class solved both of these issues.\r\n\r\nHowever from that perspective: This DSC resource does exactly the same as the WebConfigModifications class: It prevents manual actions and makes sure the settings are configured the way you want them to be. Even better: If you manually change the XML, the DSC resource detects and corrects this, where the WebConfigModifications class doesn't.\r\n\r\nThe only \"risk\" I see is that the config isn't targeted to all WFE servers in the farm, which can cause inconsistent settings between different servers. So we have document this really well in our documentation, so our users are aware."}}