Implementing DI with DryIoc

Now we will use a DI container called DryIoc to be the external component to resolve our dependencies.

In this recipe, we'll use another DI container-DryIoc. DryIoc is very well received by the community.

DryIoc is also very light, but it has almost every feature that you would expect from a complete DI container library.

Get ASP.NET Core MVC 2.0 Cookbook 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.