I would like to create WCF ChannelFactory with string channel name. This is standart WCF CahannelFactory .
ChannelFactory<T> channelFactory = new ChannelFactory<T>(myBinding, myEndpoint);
Now I want to get T From string variable which is located in the database.
Mean : Instead of this : ChannelFactory I want to to make something like reflection or any other way to pass T by name name.
Type myt = Type.GetType("Service.ServiceSoapClient");
ChannelFactory<myt> channelFactory = new ChannelFactory<myt>(myBinding, myEndpoint)