Click here to Skip to main content
15,885,546 members
Everything / Dependency injection

Dependency injection

dependency-injection

Great Reads

by Nick Polyak
Describes how to install dynamically loaded plugins as nuget packages
by Chris Copeland
A managed library for automated dependency injection, contract validation, and custom aspect-oriented decorator implementations
by GerVenson
Why do we need to register all services with service.AddService?
by Tom Ling
The code for this example can be found here. What is dependency injection. Dependency injection (DI) is a software design pattern that allows developers to write loosely coupled code.

Latest Articles

by Federico Alterio
How to optionally inject a dependency using Microsoft DependencyInjection container
by Dev Leader
Jumpstart app with Autofac
by Nick Polyak
Describes how to install dynamically loaded plugins as nuget packages
by Jason Sultana
How to add configuration to Web API and other project types

All Articles

Sort by Score

Dependency injection 

31 Jul 2021 by Jason Sultana
Using builder pattern to help unit testing a service with more than just a couple of dependencies
8 Nov 2019 by Petru Faurescu
Simplified guide to building a fast, secure web application backend
16 Apr 2019 by Petru Faurescu
What’s about Problem / solution format brings an easier understanding on how to build things, giving an immediate feedback.
7 Aug 2022 by Jason Sultana
How to add DI to your .NET console apps
13 Nov 2018 by Vlad Neculai Vizitiu
What an Inversion of Control (IoC) container is and how it works
13 Nov 2018 by Vlad Neculai Vizitiu
In this post, we will take a deeper look at what Dependency Inversion or Dependency Injection actually means and how it helps us.
10 Aug 2022 by Jason Sultana
How to add configuration to Web API and other project types
26 Oct 2020 by Matteo Prosperi
Being an engineer on the AWS SDK for .NET team, I tasked myself with figuring out how to use our libraries under Blazor in the browser.
4 Mar 2019 by marcusts
They got it wrong with IOC containers, but that can be fixed. The post A Smarter DI Container for Xamarin.Forms appeared first on Marcus Technical Services.
21 Jan 2023 by Dev Leader
Jumpstart app with Autofac
14 Nov 2018 by Vlad Neculai Vizitiu
Hello and welcome to part two of the use and abuse of the C# modifier keywords, Last time we looked at the access modifiers that apply to types (class, struct, and enums) and members (fields, methods, nested classes, etc.