Create an ASP .NET Core Site with Entity Framework

Matt Eland
The Startup
Published in
10 min readNov 6, 2019

--

Learning Objectives

In this tutorial we’ll create an ASP .NET Core 3.0 web application using MVC, Entity Framework, and a restful Web API.

By the end of the article, we’ll have an operational web application that lets us create and modify test suites and add manage test cases in each test suite.

We’ll focus on getting up and running quickly and will largely go with the default look and feel for new web applications.

Along the way we’ll discuss:

  • ASP .NET Core 3.0
  • Model View Controller (MVC)
  • Entity Framework
  • Web API

Understanding ASP .NET Core 3.0 MVC Web Apps

ASP .NET Core 3.0 is a web server running on .NET Core 3.0. This is an enterprise-ready web server capable of serving up static or dynamic web pages as well as API endpoints.

ASP .NET offers a variety of web page technologies but in this article we’ll focus on their Model View Controller (MVC) offering with its Razor syntax.

This is not an article about understanding the details of MVC or Razor, but we will be looking at some code related to these things.

Model View Controller consists of the following components:

  • The Model, or class, containing the data
  • The View, or web page…

--

--

Matt Eland
The Startup

Microsoft MVP in AI, AI Specialist at Leading EDJE. Author of "Refactoring with C#".