-
Install the azure cli on macOS azure-cli
brew update && brew install azure-cli
az login
-
Create an asp.net core mvc application
mkdir -p src/ExampleMvcSite
cd src/ExampleMvcSite
dotnet new webapp
cd ..
dotnet new sln --name AzureHosted
dotnet sln AzureHosted.sln add ExampleMvcSite/
dotnet build
-
Configure Azure hosting using the free tier getting-started
- Find free tier regions:
az appservice list-locations --sku F1 --linux-workers-enabled
oraz appservice list-locations --sku F1
- Resource Group:
azure-dotnet-core-hosted-example
- App Service Plan:
azure-dotnet-core-hosted-example-app-plan
az group create --name azure-dotnet-core-hosted-example --location "Australia East"
az appservice plan create --name azure-dotnet-core-hosted-example-app-plan --resource-group azure-dotnet-core-hosted-example --sku F1
az webapp create --resource-group azure-dotnet-core-hosted-example --plan azure-dotnet-core-hosted-example-app-plan --name azure-dotnet-core-hosted-example
- Find free tier regions:
-
Azure DevOps (CI/CD)
- Configure Azure Pipeline