1

I uploaded my api to azure. I know that you shouldn't direct to the below shown url because there is no webpage. But all api requests are not working

It seems as though everything was published fine but is not working. What could be the problem?

Tanaka Mawere
  • 683
  • 1
  • 9
  • 22

1 Answers1

0

To deploy your webapi to azure and get it to work make sure that you have following workaround :

  • I have created .Net webAPI and here make sure that you have following in your program.cs app.UseHttpsRedirection(); enter image description here

  • And after deploy to azure App service make sure that you have the following configuration ,In my case i have created web+Database in portal and deploy my webAPI

enter image description here

enter image description here

For more information please refer the below links :

AjayKumarGhose
  • 4,257
  • 2
  • 4
  • 15