2
I don’t know much to post to help the question, so if you want to know more just mention the comments.
In the web.config
, inside appSettings, has the tag <add key="apiManagerUrl" value="http://minha-api.azurewebsites.net/api/" />
.
Running local it returns what is in value, but when I publish in the Azure service it is returning a random link: https://microsoft-apiapp37dce4952f834c67996305734fc0303e.azurewebsites.net/api/
.
I know that the web.config
is being updated when I publish the service because I needed to change the tag customErrors
to identify the problem.
Both the apiManagerUrl
how much service you need to call it are published in Azure.
Azure has a web.config type in the site’s control panel,try to set it up. I had the same problem, only my problem was with the string Connection
– Tiago S