Exploring ASP.NET Core, Part 6 of 6: View Components

with Don Kiely

Explore the concepts behind View Components, learn how they’re put together as a combination of a class and a view, and find out how to create and use them. Get a feel for just how simple and straightforward View Components can be by still being as sophisticated as you’d like by taking a look at an example of an app that shows a way to reuse summary data throughout a website. Dig deeper into the details and build a new project that uses a View Component to display various lists of our dogs. Explore some interesting features of an ASP.NET Core application, including how to use Entity Framework Core to support the data that the View Component needs. Along the way, take a look at another example of using Dependency Injection, here in a View Component, and an interesting way to define that service.

Course Outline