2.2 KiB
title | author | description | keywords | ms.author | manager | ms.date | ms.topic | ms.assetid | ms.technology | ms.prod | uid |
---|---|---|---|---|---|---|---|---|---|---|---|
Getting Started with ASP.NET Core 2.0 | rick-anderson | A quick tutorial that creates and runs a simple Hello World app using ASP.NET Core. | ASP.NET Core,tutorial,get started | riande | wpickett | 08/07/2017 | get-started-article | 73543e9d-d9d5-47d6-9664-17a9beea6cd3 | aspnet | asp.net-core | getting-started |
Getting Started with ASP.NET Core 2.0
[!NOTE] These instructions are for ASP.NET Core 2.0 Preview. The Preview release is not recommended for installation on a production machine. Looking to get started with the latest stable release? See the 1.1 version of this tutorial.
- Install .NET Core 2.0 Preview.
-
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.
The
dotnet run
command builds the app first if needed.dotnet run
-
Browse to
http://localhost:5000
Next steps
For getting-started tutorials, see ASP.NET Core Tutorials
For an introduction to ASP.NET Core concepts and architecture, see ASP.NET Core Introduction and ASP.NET Core Fundamentals.
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.