Dependency Injection

.NET Core

Composite Pattern in .NET Core with Dependency Injection

Implementing a composite pattern for the .NET Core DI framework.

Read More
.NET Core

Decorators in .NET Core with Dependency Injection

Implementing a decorator pattern for the .NET Core DI framework.

Read More
.NET

Autofac and Async Resources

I came across a problem on a recent WebAPI project where I wanted to use Autofac to inject some tenant information (i.e. derived per request) into the constructor of each controller

Read More