I know using Autofac, it is possible to host a WCF service. What about reversing the way? Is it possible to consume a WCF service using Autofac? I mean client side. If yes, how it can be done?
I know using Autofac , it is possible to host a WCF service. What
Share
Take a look at http://code.google.com/p/autofac/wiki/WcfIntegration#Clients .
You just need to register the binding configuration by registering a
ChannelFactory<IYourServiceContract>, and then register the channel creation. Don`t forget to call the UseWcfSafeRelease().