PreviousNext

Using dependency injection with view components

by bill-s, 2016-07-23T07:12:42.000Z

On ASP.NET Core view components support dependency injection. We can use some DI/IoC container but we can also go with framework level dependency injection. This blog post explains how dependency injection works with view components and as an example I show you some code I’m using for top menu of my demo site.

Read More