I have a solution with 2 projects: a wcf web service and a winforms application that consumes the service.
Everything works great in local development mode since the service runs on the visual studio and the app.config for the winforms application contains the endpoint to localhost and some random port.
What is the proper way to publish the web service AND the consuming application?
Publishing the web service to an IIS server requires me to update the endpoint for the application and if I want to run in locally again I have to update the endpoint. Is there an easier way to publish to an external location and switch between a local environment?