简体   繁体   中英

How to use same App.config for multiple clients

I am a newbie at .NET and I need help.

1) There is possible to have an App.config file at network folder and use those setting for multiple clients? if yes, how can I do that?

2) If I will make a change in this App.config, it will effect in real-time?

The idea is that I want to create one configuration file that will affect all clients without having to update app.config in each client.

Thanks.

You can consider to make symbolic link to your network path

 mklink /H "C:\myApp\app.config" "\\server\shared_app\app.config"

ake sure that users have only read permission to file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM