how to read application ".config" file in No-touch-deployment

N

Nick Malik

I really don't know how to implement app.config, per se, for
no-touch-deployment, but I can suggest something else...

If your app is installed via the web, then you know, for a fact, that your
users have internet access. So, you can, on starting your app, see if you
have a local XML file that contains settings. If you don't, use a web
service call to get the settings from the same server where the app was
installed from, and write the XML settings file to a local machine.

Would that work for you?
--- Nick
 
M

Marek

Hi there,
my WinForm application has to be installed in "no-touch-deployment" mode, so
users can run it from the web. I need to read application's .config file but
it does not work in no-touch-deployment.
Could anyone give me directions to documentation piece (or article) that
explains how to implement app .config file reading in no-touch-deployment ?
(just to clarif the issue, my app is not ASP.NET)

I'd appreciate any help, thank you.
Marek
 
M

Marek

Thank you Nick,
I think what you say is reasonable, however it requires some additional
"plumbing" to be done (i.e. reading .config through web-service). I will try
if I do not fid any other solution. It is sort of disappointing that
Microsoft did not cover this subject nicely. They gave us that
"no-touch-deployment" and it is very appealing but then when you try to
implement it in real-life it gets apart because of small details Reading
".config" is one of them (I actually know more...).
Anyway, thank you very much. If you step on something interesting please let
me know.
best regards,
Marek
 
J

John Vottero

Marek said:
Hi there,
my WinForm application has to be installed in "no-touch-deployment" mode,
so
users can run it from the web. I need to read application's .config file
but
it does not work in no-touch-deployment.
Could anyone give me directions to documentation piece (or article) that
explains how to implement app .config file reading in no-touch-deployment
?
(just to clarif the issue, my app is not ASP.NET)

Can you provide more details than "does not work"? One touch deployment
works fine for me including accessing the .config file. Are you trying to
open the file directly or are you using methods in the ConfigurationSettings
class?

If you're trying to configure remoting via the .config file, you're out of
luck, it's not going to work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top