Templates for .NET Core
Let's start this section knowing the difference between .NET Core and ASP.NET Core:
- .NET Core (now called .NET) is a cross-platform, free, and open source framework used to create web, desktop, mobile, and other kinds of applications, using a standard library and C#, Visual Basic, or F# as a programming language.
- ASP.NET Core, on the other hand, is a multi-platform web technology for creating modern applications using .NET. This is why, although the .NET Core framework has been replaced with .NET 6, you will still find terms related to .NET Core as a part of the templates.
If we want to create a new clean project of the ASP.NET Core type, we can search and select the ASP.NET Core Empty template. This template will create a simple API project that, when executed, will display the Hello World message. To configure the new project, we must enter a project name, such as AspCoreEmpty
.
Also, we must indicate the location to save the project...