writing to appconfig file
-
i have a windows service which request a webservice. The windows service gets the url of webservice from application configuration file( i.e appconfig file) now how can i write to app config file from setup and deployment project(i.e the installer). pla help me
-
i have a windows service which request a webservice. The windows service gets the url of webservice from application configuration file( i.e appconfig file) now how can i write to app config file from setup and deployment project(i.e the installer). pla help me
One Post is enough.
Regards, Satips.:rose:
-
i have a windows service which request a webservice. The windows service gets the url of webservice from application configuration file( i.e appconfig file) now how can i write to app config file from setup and deployment project(i.e the installer). pla help me
In order to accomplish this, you will need to create a custom installer class. This can be a separate library or a class in your service. Within you installer class, you can write to the app.config after it is installed. Just a note, there are not a lot of articles on the subject.
Here are some of my articles. Hope this helps! Joseph Guadagno http://www.josephguadagno.net