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

Опубликовано: 20 Март 2025
на канале: VitoshAcademy
2,134
25

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 wi...  )
C# - Implement CRUD Functionality - ASP.NET MVC with EF Core (   • C# - Implement CRUD Functionality - A...  )
C# - Add sorting, filtering, and paging - ASP.NET MVC with EF Core (   • C# - Add sorting, filtering, and pagi...  )
C# - Migrations - ASP.NET MVC with EF Core (   • C# - Migrations - ASP.NET MVC with EF...  )
C# - Create a complex data model - ASP.NET MVC with EF Core (   • C# - Create a complex data model - AS...  )

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...