I am working on a desktop application which uses .net remoting. During the start up the rem开发者_如何学JAVAoting layer is configured based on the app.config. I have a requirement of re-configuring the remoting layer at run-time so that I can connect to a different remoting server.
In fact, I could just modify the config file and restart the application, but unfortunately I must verify whether the remoting server exists, and this is not feasible with this approach. I hope I have stated the problem clearly, and would appreciate any help you could provide!
All remoting-configurations can be done programmatically without using any config file. Maybe, you should go that way.
精彩评论