Install .NET SDK
Whilst Node.js is Defra's primary framework, there are use cases where .NET is required.
The .NET SDK is a set of libraries and tools that allow developers to create .NET applications and libraries.
Choose version (or use LTS)
Select the version required then either a package manager or binary for your OS from Microsoft
Note On Mac, creation of symbolic links is missing from the installer after installation. To create them manually run
ln -s /usr/local/share/dotnet/dotnet /usr/local/bin/
Verify installation
Check your installation was successful with
dotnet --version
Install .NET tools
As per Microsoft's setup guide the Entity Framework tools allow the creation and application of code first migrations can be installed with the command
dotnet tool install --global dotnet-ef
VS Code
The C# extension for VS Code is required to enable debugging and IntelliSense for .NET projects and should be installed.