This web app is loosely based on Contoso University built in Razor Pages with Entity Framework Core in ASP.NET Core - Tutorial 1 of 8 By Tom Dykstra and Rick Anderson.
The Contoso University sample web app demonstrates how to create an ASP.NET Core Razor Pages app using Entity Framework (EF) Core.
The sample app is a web site for a fictional Contoso University. It includes functionality such as student admission, course creation, and instructor assignments.
Here are a few of the screens created in the tutorial.
The UI style of this site is close to what's generated by the built-in templates. The tutorial focus is on EF Core with Razor Pages, not the UI.
- Visual Studio 2019
- ASP.NET Core 2.2
- SQL Server Data Tools
If you installed Visual Studio 2019 with Web development workload you'll have everything you need to build this application.
- Clone the project.
- Open the solution file
ContosoUniversityPremiere.sln
with Visual Studio 2019. - Press F5 to build and start the application.
We have added a few architecture 'enhancements'
- IoW and Repository pattern
- ViewModels to separate UI and DAL
The low complexity on this sample application may not warrant for such architecture enhancements. Our main purpose is to use this as a 'model' for building well-structured web applications.
Copyright (c) 2019 Felipe Romero