The Visual Studio Code Dev Containers extension lets you use a Docker container as a full-featured development environment. It delivers all tooling required to deploy the application enivrionment and deploy the application code. For more information on Dev Containers, please refer to this tutorial
- Docker
- If using Windows Subsystem for Linux, docker needs to be inside WSL
- If using Windows, Docker for Desktop needs to be installed
- Visual Studio Code
- Visual Code for the Web can not be used. There is an issue deploying Azure AD resources when using DevContainers.
- Dev Container Extenstion
NOTE: Access to a Github Codespace fullfills all the pre-requisites
- git clone https://github.com/Azure/reliable-web-app-pattern-dotnet
- Open the folder reliable-web-app-pattern-dotnet in Visual Studio Code
- A prompt to open the folder in Dev Containers will appear in the lower right.
- Click
Reopen in Container
- The container will start to build
- When the container is built, open a new shell in the upper right hand corner of the integrated terminal
- Confirm that
azd
andaz bicep
are install correctly - Continue on deploying the environment as before.