publishing web api to mywebsite.azurewebsites.net/api folder

Henry Petersen 41 Reputation points
2022-09-03T12:43:57.27+00:00

I trying to use the same app service for both my web application and the supporting web api.

I successfully publish my web applicate to "{mywebsite}.azurewebsites.net", but when I publish my web api and specify the target destination to be "{mywebsite}.azurewebsites.net/api" folder (in my publish configuration) it publishes the api to "{mywebsite}.azurewebsites.net" and overwrites my web application.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,797 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Henry Petersen 41 Reputation points
    2022-09-13T16:15:26.81+00:00

    I have manage to figure out all of the proper settings to publish the webapi to the separate folder within the app service. Now I'm moving on to decide if I should store the access token or use api management to control access to my web api.

    0 comments No comments