Setting up the project on Windows

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, ...

Get C# 7 and .NET Core 2.0 Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.