These instructions are for the latest version of ASP.NET Core. Looking to get started with an earlier version? See the 1.1 version of this tutorial.
Install .NET Core.
Create a new .NET Core project.
On macOS and Linux, open a terminal window. On Windows, open a command prompt.
mkdir aspnetcoreapp cd aspnetcoreapp dotnet new web
Run the app.
dotnet runcommand builds the app first if needed.
For getting-started tutorials, see ASP.NET Core Tutorials
An ASP.NET Core app can use the .NET Core or .NET Framework Base Class Library and runtime. For more information, see Choosing between .NET Core and .NET Framework.