You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.0 KiB

Quick Start on dotnet Core


// list all templates
$ dotnet new --list

// scaffold a template project
$ dotnet new --install Microsoft.DotNet.Web.Spa.ProjectTemplates

// clean output of project
$ dotnet clean

// build the project
$ dotnet build

// build & run the project
$ dotnet run


//
$ dotnet add package <packagename>
  • Entity Framework Core (EF Core) for SQL
    • Microsoft.EntityFrameworkCore
    • Microsoft.EntityFrameworkCore.Relational
    • Microsoft.EntityFrameworkCore.SqlServer
    • Microsoft.EntityFrameworkCore.Tools
  • List of EF Core Providers
$ dotnet ef

$ dotnet ef database

$ dotnet ef dbcontext

$ dotnet ef migrations