0
votes

I am having a Web API project in asp.net and this project is hosted on Azure web app services .Azure endpoint of the api works . How can i wrap this api under azure api management ?

Current setup

Asp.net web Api project > Hosted in azure web app services

I tried to add the api in API management via blank and open api specification.

I would expect the Azure API Management could connect to my web app service where my asp.net web api project is hosted.

2

2 Answers

0
votes

Deploy your Web API to Azure App Service API App instead of App Service Web App. You will be able to import the API's directly from the UI. Here is the doc.

enter image description here

enter image description here

0
votes

Alternative to Ketan's approach is to configure API manually using "Blank API" option. where you'll need to specify your App's base URL. You will be required later on to create all operations manually.