Creating a .Net Core REST API — Part 1: Setup and Database Modelling

Project Setup

Database Modelling

Our API will run queries against our database using Entity Framework Core. EF Core supports two models of development; Code First and Database First. Code first generates the database from models that you write manually. Database first is the opposite, generating the models from an existing database schema. We will be using database first in this case.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store