To prepare your Windows for ASP.NET Core, you must install all the components required to build and run ASP.NET Core web applications, including .NET Core SDK. See System Requirements for details.
Step 1 - Testing .NET Core SDK
Open command prompt, initialize a sample Hello World application, enter:
Run the application, enter:
The first command will restore the packages specified in the project.json or .csproj file, and the second command will run the actual sample.
If you see the output "Hello World!":
then you're set. You now have .NET Core running on your machine, please proceed to testing ASP.NET Core with Visual Studio as follows.
Step 2 - Testing with Visual Studio Community 2015/ 2017
With Visual Studio Community, you can develop and test ASP.NET Core web applications easily. Visual Studio Community is free, you can download it from https://www.visualstudio.com/products/visual-studio-community-vs.
After installing Visual Studio Community, test it as follows.
Create a web application, from the Visual Studio Start page, tap New Project.
Alternatively, you can use the menus to create a new project. Tap File > New > Project.
Complete the New Project dialog:
In the New ASP.NET Core Web Application - MvcMovie dialog, tap Web Application.
Tap Change Authentication and set it to No Authentication, tap OK.
Tap OK again to create the project.
Visual Studio used a default template for the MVC project you just created, so you have a working app right now by entering a project name and selecting a few options. This is a simple "Hello World" project, and it's a good place to start,
Tap F5 to run the app in debug mode or Ctl-F5 in non-debug mode.
The default template gives you working Home, Contact, About, Register and Log in links. The browser image above doesn’t show theses links. Depending on the size of your browser, you might need to click the navigation icon to show them.
If everything works, you can try your first ASP.NET Maker web application by following Quick Start.