Automatically inserting new fields in a web.config file

Posted by MarceloRamires on Stack Overflow See other posts from Stack Overflow or by MarceloRamires
Published on 2010-04-15T13:13:57Z Indexed on 2010/04/15 13:53 UTC
Read the original article Hit count: 200

Filed under:
|
|
|
|

I have an ASP.NET project which has already some custom fields in it's web.config file. I've added in it three more fields and used them in my changes, and it's working great.

But where it needs to be used, there aren't these thre fields in the web.config (this was expected, I've just added by hand for tests and developing).

How do I check the existance of fields in web.config, and in case of not finding it, how do I add it permanently to the web.config ?

Thank you

© Stack Overflow or respective owner

Related posts about web.config

Related posts about ASP.NET