Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » element   (RSS)

Automating config file changes : Part 4 – Adding a new element to an XML file

After updating and deleting element from an XML config file, lets see how to add new elements at the desired position in an XML file. We will again take the same web.config file , which we took in the first example and save it at C:\MyApplication <?xml

Automating config file changes : Part 3 – Deleting an element from an XML file

This post talks about removing an existing XML element from the config file. Consider a scenario where we have the following web.config file saved at location C:\MyApplication <?xml version="1.0"?> <configuration>   <configSections>
 
Page view tracker