hostHeader can be set in ServiceDefinition.csdef file as
<Site name="Web">
<Bindings>
<Binding name="Endpoint1" endpointName="Endpoint1" hostHeader="www.mysite.com"/>
</Bindings>
</Site>
How can I change this setting according to my project configuration?
e.g. when my project is published in debug mode, hosetHeader should be set to test.mysite.com
,
and when project is published in release mode, hostHeader should be set to www.mysite.com