The first thing we need to do is set up .NET Core 2.0 on our development machine. For the purposes of this book, I am using a Windows PC to illustrate this step but, in reality, you would be able to set up a .NET Core application on macOS or on Linux.
I will be illustrating how to set up .NET Core on Linux later on in this chapter. The process is similar for macOS, but I find that it is a bit trickier on Linux. Therefore, I have opted to show this step by step for Linux.
For macOS, I will show you how to run this application created on a Windows PC. This is the true beauty of .NET Core. It is a truly cross-platform technology capable of performing flawlessly on any of the three platforms (Windows, macOS, and Linux):
- Point your browser to https://www.microsoft.com/net/core and download the .NET Core SDK:

The installation is also quite straightforward...