guipadua / ContosoUniversity.MySql

ASP.NET Core Contoso University with MySQL or MariaDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contoso University sample app with MySql/MariaDB setup

Contoso University demonstrates how to use Entity Framework Core in an ASP.NET Core MVC web application.

Other dependencies

Package Version
ASP.NET Core 2.1.0
Pomelo.EntityFrameworkCore.MySql 2.1.0-rc1-final
Z.EntityFramework.Plus.EFCore 1.7.20

Build it

  • Install MySql or MariaDB and make sure the connection works with the same connection set on appsettings.json.
  • dotnet ef database update at a command-line prompt.

As an alternative you can use Package Manager Console -- for more information, see Command-line interface (CLI) vs. Package Manager Console (PMC).

Original information

About

ASP.NET Core Contoso University with MySQL or MariaDB


Languages

Language:C# 98.2%Language:Ruby 0.9%Language:CSS 0.5%Language:PowerShell 0.4%Language:JavaScript 0.0%