Getting started on Windows, Linux, and macOS
The first step toward the cross-platform journey is to get the basics working across the platforms we've mentioned—Windows, Linux, and macOS. We will walk through this in the following sections, to make sure you are on track with this part of the multiplatform story.
We touched upon getting started with .NET 5 on Windows in the previous chapter, so you should already have a functioning setup for this platform if you followed that guide. Hence, we will not repeat those instructions here.
Linux is a popular operating system for server workloads, and it powers a large number of the virtual machines that run in Azure. It is not as popular as Windows for the average end user on their desktop, but for a developer, there are a number of benefits to using Linux.
When developing microservices that run in containers, Linux is a good choice since, in many cases, you will be able to run trimmed-down images. Containers...