Using the WebConfigurationManager.OpenWebConfiguration() function using remote server and port?
-
25-09-2019 - |
Question
Can someone tell me if there is a way for me to use the WebConfigurationManager.OpenWebConfiguration() using a remote server, port and virtual directory?
Examples cited in http://msdn.microsoft.com/en-us/library/ms228063.aspx and http://quickstart.developerfusion.co.uk/QuickStart/aspnet/doc/management/mgmtapi.aspx only use the virtual path and server.
In my setup I have a webservice that resides on the root (defaultsite) of a remote server on a specific port (e.g 1570). I would like to connect and retrieve a configuration setting from the web.config file of this webservice.
Thank You
Solution
Seems like this might be what you need?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow