[BDotNet Bangalore on on 9 July 2022] Samples, scripts
# Create a new asp.net core application
$ dotnet new --name sampleweb --no-https
# change the directory
$ cd sampleweb
# build that application
$ dotnet build
# run the application
$ dotnet run
# add a Dockerfile either manually or by draft or by vscode
# check if the docker is running
$ docker ps
# if docker is not running then start the docker
$ sudo service docker start
# when docker is running, stay in the folder where Dockerfile is there
Documentation https://docs.microsoft.com/en-us/azure/aks/draft
Install draft (preview)
az extension add --name aks-preview
Create the Dockerfile, helm etc.
az aks draft create
Create Github workflow
az aks draft generate-workflow
az grafana create --name sampleweb -g rg-demo-bdotnet -l eastus
- Resource Group
- Azure Container Registry (ACR)
- Azure Container Instance (ACI)
- Azure App Service
- Azure Kubernetes Service (AKS)