When I create a WCF Service Library, an app.config is generated for me where I put the end points. Then if I create a website and reference the WCF Service Library, it creates a web.config file where I can specify the end points. Do I put the end points in the app.config or web.config or do they have to be in both?
Share
Essentially, it’s
Web.configif you’re hosting the services in IIS,app.configif you’re self hosting. So it sounds like you want to put them in theweb.config.Full details can be found here where MSDN says: