SaaS CMS has officially launched! Learn more now.

Registering a WCF Service ChannelFactory in IoC


We're truing to integrate a third party WCF-service, and we're going to need that service in a few different places on our site.

Previously, I've used Autofac to register a ChannelFactory with UseWcfSafeRelease(), to help with channel management for the underlying connection, but I have no idea on where to start with getting that behavior into the EPiServer IoC container.

I know there's StructureMap underneath the hood, but I also know that we're supposed to keep our hands out of that cookie jar :)

Any ideas?

Dec 06, 2016 9:36
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.