To run your first
Asp.Net core application follow simple steps as below.
Create
directory where you want to place your project using .NET Core command-line
interface(CLI) following command
> mkdir firstdotnetcoreapp
Move
to that firstdotnetcoreapp directory
> cd firstdotnetcoreapp
To
create a new web application type CLI following command
> dotnet new -t web
As you can see it has generated a new asp.net core application.
To
load related dependencies use CLI following command
> dotnet restore
dotnet
run start your application on 5000
localhost port.
Now hit on browser "http://localhost:5000/" url.
Note: asp.net core 1.0 is required.