I am looking to determine the best practice or frequently used design pattern for WCF sharing, allowing for communication and switching to another service or local information service if WCF (or the initial service exists)
I'm not sure if this makes sense, so let me give you an example. I want this agent to connect to the wcf service and (hopefully) expose the contract methods for the caller (UI / BO, etc.), so that this object can call these methods, the agent tries to contact the primary service (probably WCF) if he could not connect to the secondary service.
Ideally, all the failover and reconnection logic will be contained in the agent.
Is there a design template that encapsulates a "switching wcf client with rollback"?
Maybe not a design template, someone recommends a decent approach?
c # wcf
Beta033
source share