C# – Read related data - ASP.NET MVC with EF Core

Опубликовано: 10 Апрель 2026
на канале: VitoshAcademy
2,179
26

Reading related data from complex data model in MVC is not a trivial task. This tutorial shows how to do it, introducting the following main points:

Learn how to load related data
Create a Courses page
Create an Instructors page
Implement explicit loading in the code

It is the continuation of these tutorials:
C# - Get started - ASP.NET MVC with EF Core (   • C# - Getting Started - ASP.NET MVC with EF...  )
C# - Implement CRUD Functionality - ASP.NET MVC with EF Core (   • C# - Implement CRUD Functionality - ASP.NE...  )
C# - Add sorting, filtering, and paging - ASP.NET MVC with EF Core (   • C# - Add sorting, filtering, and paging - ...  )
C# - Migrations - ASP.NET MVC with EF Core (   • C# - Migrations - ASP.NET MVC with EF Core  )
C# - Create a complex data model - ASP.NET MVC with EF Core (   • C# - Create a complex data model - ASP.NET...  )

VitoshAcademy.com:
https://www.vitoshacademy.com/c-read-...

Microsoft.Com Tutorial:
https://docs.microsoft.com/en-us/aspn...

Initial code (GitHub):
https://github.com/Vitosh/ASP/tree/ma...
Code at the end (GitHub):
https://github.com/Vitosh/ASP/tree/ma...