Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.54 KB

5.create-a-web-app-in-the-azure-portal-for-the-api-project.md

File metadata and controls

25 lines (21 loc) · 1.54 KB

5. Create a Web App in the Azure Portal for the API

  • Login in to the Azure Portal.

  • Click on Create a resource.

  • Search for Web App in the Search services and marketplace field.

  • Click the Create link in the Web App icon.

  • Select rg[YourAppName] in the Resource Group dropdown.

  • Enter [YourAppName]API in the Name input field.

  • Select Code in the Publish dropdown.

  • Select .NET 9 (STS) in the Runtime stack dropdown.

  • Select Windows as Operating System.

  • Select the same Region as in the SQL server you created in Part 3.

  • Click on Create new in the Windows Plan. Name it [YourAppName]WinPlan.

  • Select Basic B1 (needed for certificate features) in the Pricing plan.

    Upgrade to enable certificate features

  • Click the Review + create button. Click Create button.

  • Click on Go to resource when the Web App has been created.

  • Click on Configuration in the left menu and click + New application setting in the Application settings tab.

  • Enter ASPNETCORE_ENVIRONMENT in the Name field and Staging in the Value field.

  • Click the OK, Save and Continue buttons.

  • Copy the Default domain url in the Overview menu of the Web App (https://[YourAppName]api.azurewebsites.net).

[Previous] - [Next]