Okay so here's the setup:
I have 4 projects in my solutions thus far: Types, Repositories, Services, Web.
The Services project only contains the implementation of the WCF service, the contracts sit in the Types library. Also (don't know if it makes a difference), the WCF project is a WCF Servic Library project and not a WCF Service Application project.
In the web project, I'm trying to create a ChannelFactory to use with my WCF Service. It looks like this:
Call to method:
var reviewService = GenericFactory<IReviewService>.GetChannelFactory("ReviewService");
public static T GetChannelFactory(string endpoint)
return new ChannelFactory<T>(endpoint).CreateChannel();
Here's what the config looks likes:
<!-- use base address provided by ho
View Complete Post