I have a service and I need to communicate with it so I started investigating WCF. I setup the service to listen and created a client. All communication is working fine.
The service will be used by several customers. Instead of having them setup a client and go through the WCF learning curve I figured I would just wrap the client and hide all the WCF implementation. I found that inorder to get this to work they still have to include in their app.config file the service model with endpoint information.
Is there a way to completely hide the service model information? I would prefer them to simply reference my dll and start making calls. It seems unnecessary for libraries beyond my client to have to know about endpoint information.
Thanks
You can create the endpoint programmatically rather than through configuration, as in the example shown in the answer to this SO question: How do I add WCF client endpoints programmatically?