# Environment setup

The development can be done locally, via Visual Studio Code or Visual Studio Community, or using Docker and Microsoft's .Net 6 SDK image.

The preferred setup is using .Net 6 and Visual Studio Code. You can also develop using Docker and .Net 6 image from Microsoft.

# Local setup

# .Net 6

Download and install .Net 6 SDK (opens new window) from here: https://dotnet.microsoft.com/en-us/download/dotnet/6.0 (opens new window)

# Visual Studio Code

Download and install Visual Studio Code (opens new window) from here: https://code.visualstudio.com/download (opens new window)

# Docker setup

# Docker

Installing docker for Windows, MacOs or Linux must be done following the guidelines from Docker website (opens new window)

Microsoft is offering official docker images for dotnet 6 and other tools or products. For developing dotnet applications we need to install the following docker image:DotNet 6 official image (opens new window). Follow the instructions on Docker.com to get the image available locally or run the following command in the terminal:

docker pull mcr.microsoft.com/dotnet/sdk:6.0

# Visual Studio Code

Download and install Visual Studio Code from the official web site: VS Code website (opens new window)

# Extension

In order to be able to run the dotnet tools from inside a docker container, the following VS Code extension must be installed: Extension (opens new window)

# Connect to image

To start and stop the docker image use the docker Dashboard.

To connect to the running image, open Visual Studio Code , then execute CTRL + SHIFT + P, then search for: Remote-Containers: Attach to Running Container and select the instance started from Docker Dashboard.