machine.config in Web Setup Project

  • Thread starter Thread starter Fredrik Celin
  • Start date Start date
F

Fredrik Celin

Hello.

Is there anybody who knows how I can change som information in the
machine.config in a deployment project for a web application?

Do I have to change replace the file with a new (and how do I do that
in that case) or can you programmatically change som xml-"records"?


Grateful for any response and tips.
The Duke
 
the machine config file is just an ordinary file. you can parse it with a
simple file object or one from the xml closet of goodies. depending on what
you touch, you will need iis to reset before settings take effect. Why do
you want to mess with machine config file programmatically? this file
affects the applications running on the server and not just your new
application
 
Back
Top