I want to self-host a WCF service in a console application for debugging that lives in my hosting layer. I also have a WPF application that needs to call this WCF service. However, I am unable to Add Service Reference to the console project from the WPF project. What do I do in this scenario? This is easy to do with IIS self-host, just add a .svc file and have it point to the WCF service, but how to do this with console host?
Share
First run the console app and ensure that the service is running.
Then go to AddServiceReference in visual studio and follow your intuition