-
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.
-
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).