c# - Best way to handle multiple WCF EndPoints in a Windows App -
i have need install "agent" (i'm thinking run windows service) on many servers in network. agent host wcf service several operations perform specific tasks on server. can handle.
the second part build control center, can browse servers available (the agent "register" central database). of servers running recent version of service, i'm sure there servers fail update , may run out dated version time (if right, service contract wont change much, shouldn't big deal).
most of wcf development has been many clients single wcf service, i'm doing reverse. how should manage of these endpoints in control center app? in past, i've had single endpoint mapped in app.config. code builds wcf endpoint on fly, based on set of string ip; int port;
variables read database?
this article has code examples on how create end point on fly:
http://en.csharp-online.net/wcf_essentials%e2%80%94programmatic_endpoint_configuration
Comments
Post a Comment