wcf - Test Azure Staging Cloud Service behind TrafficManager and Alias -
i have few wcf web services test in azure's staging area instead of deploying directly production area.
here's setup:
i have 2 cloud services https://1.cloudapp.net , https://2.cloudapp.net. these cloud service endpoints endpoints in traffic manager https://mycloudapps.trafficmanager.net. have dns alias of https://mycloudapps.com mapped traffic manager url.
my client setup establish ssl connection using certificate https://mycloudapps.com.
when deploy staging edit host file use staging ip point https://mycloudapps.com , if ping https://mycloudapps.com staging areas ip returned. yet when call services test client still hitting endpoints behind traffic manager url.
additionally, have tried mapping traffic manager url same virtual ip of staging environment - same result.
how can call wcf services in azure's staging environment in scenario?
i haven't had luck on web... appreciated.
if host file mapping mycloudapps.com staging ip, should reflected test client (assuming it's running on same machine). possibly there's dns caching issue, suggest running 'ipconfig /flushdns' , trying again.
you said "mapped traffic manager url same virtual ip of staging environment"...how exactly did map traffic manager profile staging service? traffic manager works domain names, not ip addresses directly. suggest using tool digwebinterface view name resolution path , see how being directed towards production rather staging service.
note staging service has different urls production service (they .cloudapp.net). use traffic manager staging slot, url need configure in traffic manager. add such endpoint traffic manager, need specify 'external endpoint', following these instructions.
Comments
Post a Comment