Editing Web.config programmatically

前端 未结 7 1290
半阙折子戏
半阙折子戏 2020-12-03 21:57

What is a good way to edit a Web.config file programmatically?

I looked into System.Xml but couldn\'t find any obvious answers.

7条回答
  •  执笔经年
    2020-12-03 22:22

    Agree with others, editing the webconfig is achievable, but has knock on effects are just to dangerous / risk involved

    If its a value that is application specific, then it should be in an application specific config file

提交回复
热议问题