Create ASP.NET Core Project using .NET Core CLI (Command Line Interface)

dotnet new mvc –auth None –framework netcoreapp1.1
dotnet new mvc –framework netcoreapp1.1
dotnet new –help

For restoring all the packages you would need to run  dotnet restore

Building and running application type and run  dotnet run

Templates                 Short Name      Language      Tags
———————————————————————-
Console Application       console         [C#], F#      Common/Console
Class library             classlib        [C#], F#      Common/Library
Unit Test Project         mstest          [C#], F#      Test/MSTest
xUnit Test Project        xunit           [C#], F#      Test/xUnit
ASP.NET Core Empty        web             [C#]          Web/Empty
ASP.NET Core Web App      mvc             [C#], F#      Web/MVC
ASP.NET Core Web API      webapi          [C#]          Web/WebAPI
Solution File             sln                           Solution

Add Comment