Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / dependency-injection

Dependency Injection

dependency-injection

Great Reads

by M.M.Mohseni
In this article, we'll explain how to register (Add) all specific interface assignable types in an assembly and will use them in a class.
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.
by Jason Sultana
How to add configuration to Web API and other project types
by Jason Sultana
How to add DI to your .NET console apps

Latest Articles

by M.M.Mohseni
In this article, we'll explain how to register (Add) all specific interface assignable types in an assembly and will use them in a class.
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.
by Jason Sultana
How to add configuration to Web API and other project types
by Jason Sultana
How to add DI to your .NET console apps

All Articles

Sort by Score

dependency-injection 

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.
by Jason Sultana
How to add configuration to Web API and other project types
by Jason Sultana
How to add DI to your .NET console apps
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.
by Jason Sultana
In this post, I highlight the scenarios in which the DI container will dispose of your services for you and the scenario in which it won’t.
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.
by Vlad Neculai Vizitiu
What an Inversion of Control (IoC) container is and how it works
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.
by Petru Faurescu
Simplified guide to building a fast, secure web application backend
by Jason Sultana
Using builder pattern to help unit testing a service with more than just a couple of dependencies
by Trần_Tuấn_Anh
Inversion of Control (IoC) is a fundamental principle in software design that aims to decouple components and manage their dependencies more effectively.
by Dev Leader
Jumpstart app with Autofac