PreviousNext

Essential .NET - Dependency Injection with .NET Core

by bill-s, 2016-06-11T07:45:54.000Z

In my last two articles, “Logging with .NET Core” (msdn.com/magazine/mt694089), and, “Configuration in .NET Core” (msdn.com/magazine/mt632279), I demonstrated how .NET Core functionality can be leveraged from both an ASP.NET Core project (project.json) and the more common .NET 4.6 C# project (*.csproj). In other words, taking advantage of the new framework isn’t limited to those who are writing ASP.NET Core projects. In this column I’m going to continue to delve into .NET Core, with a focus on .NET Core dependency injection (DI) capabilities and how they enable an inversion of control (IoC) pattern.

Read More