How To Use IServiceCollection in Console Applications – What You Need To Know
How can you use an IServiceCollection in console applications to get dependency injection? Is this a viable option if you don't want to use Autofac?
Autofac is a very popular dependency injection framework. This content will likely include C# code examples showing usage of Autofac for managing dependencies.
How can you use an IServiceCollection in console applications to get dependency injection? Is this a viable option if you don't want to use Autofac?
Learn how to use Autofac ComponentRegistryBuilder in ASP.NET Core! We'll see how we can move closer to getting the C# plugin architecture support we want!
Learn how to use Autofac ContainerBuilder in ASP.NET Core to wire up dependency injection. I'll explore what we can and cannot do with this approach!
Learn how to use AutofacServiceProviderFactory in ASP.NET Core for dependency injection! This article explains how to set it up along with the pros and cons.
Learn how to use Autofac in ASP NET Core applications with only a couple of lines of code! Avoid this common problem when setting up dependency injection.
Learn about plugin architecture in C# to create extensible apps! This article provides examples with code snippets to explain how to start with C# plugins.
Learn how to use Autofac in C# for dependency injection! Check out these three code examples to help you get started with dependency injection in C#.
Scrutor vs Autofac in C#! Which one comes out on top between these two solutions for dependency injection in dotnet? See how each are used with code examples!
Learn about IServiceCollection in C# and dependency injection. See how Dependency Inversion, Single Responsibility, and Open/Closed Principles fit together!
Learn how to organize code for vertical slices and use Autofac modules effectively. Discover how this improves code maintainability and enhances collaboration!