Runtime Dependency Resolution Using AutoFac in .NET 6 Isolated Azure Functions

Need to specify a dependency at runtime in an Azure Function? Can it be done?

November 30, 2021 · 7 min

Using AutoFac Keyed Dependencies Directly in .NET 6 Isolated Azure Functions

Autofac allows for using Named or Keyed dependencies. Can these be used directly in .NET 6 Isolated Azure Functions without additional layers?

November 26, 2021 · 6 min

Using AutoFac Keyed Dependencies with .NET 6 Isolated Azure Functions

Autofac allows for using Named or Keyed dependencies. Can these be used with .NET 6 Isolated Azure Functions?

November 19, 2021 · 5 min

Using AutoFac with .NET 6 Isolated Azure Functions

Having the ability to use the Inversion of Control container of choice in your application is important. But can you use AutoFac with Azure Functions? Let’s find out!

November 9, 2021 · 3 min

Simple Example of Calling REST API with HttpClient in .NET 5.0

Beginner friendly usage of a HttpClient in a console application to make a simple request but using dependency injection to create HttpClient instances.

May 25, 2021 · 8 min

Debugging Dependency Injection Service Registrations in .NET 5.0

Investigating a technique on how to debug service registrations when functionality isn’t working as expected.

January 12, 2021 · 2 min

Top Level Statements and Dependency Injection in .NET 5.0

Exploring Top Level statements in .NET 5 and manually setting up and using dependency injection with the Microsoft container.

January 5, 2021 · 4 min

Optional Dependencies with Autofac

Ever wanted to define a dependency as optional and only be loaded depending on consumption of your service?

June 30, 2020 · 6 min

Inject JsonSerializerOptions so Don't Repeat Yourself

How many times do you create a private options variable when using json serializer and end up with duplicate code? Let’s take a look at one option to help resolve this.

March 31, 2020 · 2 min

Multiple Ways to Register Your Dependencies with ASP.NET Core 3

Exploring the multiple ways you can register your service dependencies with the new IHost found in ASP.NET Core 3 (Preview).

June 17, 2019 · 4 min