This project is read-only.

Ability to set the binding and the address without using config


Copied from
I have the following problem.
I use dynamic silverlight dlls. So they have no ServiceReferences.ClientConfig. Your ChannelManagerSingleton uses
var channelFactory = new ChannelFactory<TChannel>("*")
to get the information from the ServiceReferences.ClientConfig.
I need such a thing:
System.ServiceModel.BasicHttpBinding bind = new System.ServiceModel.BasicHttpBinding();
bind.MaxReceivedMessageSize = 2147483647;
bind.MaxBufferSize = 2147483647;
bind.Security.Mode = System.ServiceModel.BasicHttpSecurityMode.None;
System.ServiceModel.EndpointAddress add = new System.ServiceModel.EndpointAddress(@"http://localhost:1100/ClogService.svc"); var channelFactory = new ChannelFactory<TChannel>(bind, add);
I need the possibility to set the binding and the address from outside to use the ChannelFactory with that.
Have You an idea to make that. I can make it myself, but probably not with less changes as possible.

file attachments


olivianer wrote Nov 9, 2009 at 11:53 AM

Hi, I added the functionality. You can check the source code

wrote Nov 9, 2009 at 11:53 AM

wrote Dec 21, 2009 at 4:45 AM

mbergal wrote Jan 9, 2010 at 7:37 AM

Impact = Low? I am not sure about this.

wrote Jan 9, 2010 at 7:37 AM

wrote Feb 14, 2013 at 2:06 AM