Re: Q: app.config and Windows Service.
- From: Michael Nemtsev <nemtsev@xxxxxxx>
- Date: Tue, 6 Feb 2007 13:36:59 +0000 (UTC)
Hello Martin Arvidsson, Visual Systems AB,
You can't save data to the .config, it's design approach
Use XML file to store your specific settings
M> I created a .settings file and added some values. All values are user
M> set defined.
M> M> When i load my windows service i can read from the .config file. But,
M> i can set a value and save to the file.
M> M> What am i missing? Are there any security issues?
M> M> I have tried to add assembly to set full trust, but then i cant
M> install my windows service.
---
WBR, Michael Nemtsev [C# MVP]. Blog: http://spaces.live.com/laflour
team blog: http://devkids.blogspot.com/
"The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" (c) Michelangelo
.
- Follow-Ups:
- Re: Q: app.config and Windows Service.
- From: Martin Arvidsson, Visual Systems AB
- Re: Q: app.config and Windows Service.
- References:
- Q: app.config and Windows Service.
- From: Martin Arvidsson, Visual Systems AB
- Q: app.config and Windows Service.
- Prev by Date: Re: Still looking for a good tutorial on CodeDOM
- Next by Date: solved problem!
- Previous by thread: Q: app.config and Windows Service.
- Next by thread: Re: Q: app.config and Windows Service.
- Index(es):
Relevant Pages
|