This tutorial shows how to read information from MySQL Sakila database in an ASP.NET Core application using Connector/NET Core to explore the possibility to run this application on any .NET Core supported environment as Windows, Linux, and Mac.
Pre-requisites:
- MySQL Server 5.7
- .NET Core 1.1 environment installed
https://www.microsoft.com/net/core - Visual Studio 2015 or Visual Studio Code
- Sakila sample database
http://dev.mysql.com/doc/sakila/en/sakila-installation.html
Windows and Visual Studio 2015
The first step is to create an ASP.NET Core Web Application (.NET Core) type project and name it MvcSakilaCore
Note: the …
[Read more]