WCF - How to do Load Balance with WCF 4.0 Router Service
Have you ever learned about WCF Router Service 4.0?
I know that this new feature has a lot of advantages, but i have some questions about it...
- Where can I find the documentation?
- How to implement a logic for Load Balance over WCF Router Service 4.0?
- How does WCF Router Service deal with services that has callback contr开发者_Go百科acts?
- you can use this example 2.you can use enter link description here this example
3.like cisco router you must change example 1:
- change all conection to wsdual -define Icall back contact -change router to contract="System.ServiceModel.Routing.IDuplexSessionRouter" -change client to:
InstanceContext ctx = new InstanceContext(_CallBack); _Client = new DuplexChannelFactory(ctx, _EndpointName); _Client.Open();
_Chanel = _Client.CreateChannel();
精彩评论