During the process of generating a service contract and implementation using Velocity, there is a step involving creating the service endpoint.
Adding an endpoint with the basicHttpBinding and the default address
http://localhost:9090/[ServiceName] generates and endpoint element in the web.config of the form:
Is this a bug or is there some default assumption tucked away somewhere else of which I'm not aware?
Jan 23, 2012 at 12:48 AM
For web.config, it will always be address="" because it will follow the URL of the site that is defined in IIS/WAS. The service URL will only appear in the app.config of Console or Windows Service Host. Non-IIS hosts are no longer unfolded by default as
I am encouraging developers to use IIS/WAS Hosts.
I will take a note to put a description on the code generator in the next version :)
Thank you for your feedback :)