In this chapter, I will cover how to display a list of people with their addresses on our ASP.NET Core Razor Pages application using Entity Framework Core 5. I will show how to use Visual Studio scaffolding to create the initial Razor Pages and then how to customize it to display addresses on the details page. Lastly, we will add a menu link named “Contacts” that points to the generated Index page.
16. Displaying Data on the Web
Get Beginning Entity Framework Core 5: From Novice to Professional now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.