Remotely change webservice application settings

R

Richard Heesbeen

Hi All,

I'm writing an webservice which has some settings that need to be loaded
into the webservice and get used by all instances/connections. I want to be
able to remotely change the settings (using asp.net website) so that a next
instance usses those settings and save them so when the server restarts they
also get used.

I thoughed of the web.config file and just adjust the settings in there but
is that possible or is there a better way of doing this?

Hope someone can help me out,

Richard.
 
B

Brock Allen

updating web.config is possible. when it's changed, ASP.NET will restart
your application and the new changes will be used immediaetly. The downside
is that you'll have to use the XML APIs directly to do the update if you're
still using ASP.NET 1.1. In 2.0 there's a proper API to read and write the
config file.
 

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

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top