Setting up our .NET Core project

This chapter assumes that you have already installed .NET Core version 3.1 or higher on your machine. First of all, let's start by launching the following command in our console:

dotnet new

The output will appear as follows:

The result of the dotnet new instruction

The preceding output shows all the .NET Core project templates available on the local machine. Each of these has a user-friendly name, a short name, and tags. They are available in C#, F# and VB; the default is C#.

To create a new template, we'll use the short name. For example, in order to create a console application, we should run the following ...

Get Hands-On RESTful Web Services with ASP.NET Core 3 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.