I have a WCF Service Project. I have another Class library project where I am calling the WCF service. And from a Web Application i am callign the class librabry.
In the Class library I am writing
new ChannelFactory<CompanyServiceContract>("CompanyServiceEndPoint")
But an exception is coming which says unable to find the End point "CompanyServiceEndPoint".
I have seen this question Could not find default endpoint element but I don't know about WS configuration settings into the main projects app.config
Can someone please help?