hostHeader can be set in the ServiceDefinition.csdef file as
<Site name="Web"> <Bindings> <Binding name="Endpoint1" endpointName="Endpoint1" hostHeader="www.mysite.com"/> </Bindings> </Site>
How to change this parameter according to my project configuration?
eg. when my project is published in debug mode, hosetHeader must be installed in test.mysite.com , and when the project is published in release mode, hostHeader must be installed in www.mysite.com
source share