Demo repo for deploying containerized services to Azure Container Apps with the mTLS option enabled in the Azure Container App Environment. It includes:
- A simple order app (UI).
- A simple order service, called by the order app.
- Setup for debugging each service in Docker using Visual Studio Code.
- A solution file and Docker compose project for debugging in Visual Studio.
- A setup.ps1 with commands for:
- Provisioning resources in Azure.
- Building and pushing the container images.
- Creating and deploying the Azure Container Apps.
The applications are written using .NET and C#.
- A Docker daemon/CLI environment (e.g. Docker Desktop or Rancher Desktop).
- Visual Studio Code or Visual Studio.
- .NET 8.0
- The Azure CLI
You should be generally familiar with Azure and building application container images before using this repo.
To debug locally using containers in Visual Studio Code:
- Create the shared local Docker bridge network by running:
docker network create widget-net
- Make sure you have the Docker Extension for VS Code installed.
- Open each project folder in a different Visual Studio Code instance (src/WidgetOrderApp and src/WidgetOrderService).
- On the debug tab, select the "Docker .NET Launch" profile.
- Start debugging on each service.