.NET 8 – Dependency Injection – Single Interface, Multiple Implementations
Explains how to use .NET 8's new keyed services feature for dependency injection when a single interface has multiple implementations.
Explains how to use .NET 8's new keyed services feature for dependency injection when a single interface has multiple implementations.
Explains how to implement the Decorator design pattern using .NET's Dependency Injection to add cross-cutting concerns like logging or caching.
Learn the basics of Dependency Injection in Swift, covering constructor and property injection with practical code examples.
Explains how C# 12's new primary constructor feature reduces boilerplate code, especially in Dependency Injection scenarios.
A tutorial on building a minimal clone of ASP.NET Core from scratch to understand its core concepts like the web server, controllers, and middleware.
A guide to implementing multi-tenancy in ASP.NET Core using the FinBuckle.Multitenant library, covering tenants, strategies, and stores.
Explains the new Keyed Services feature in .NET 8 Preview 7, showing how to register and inject named dependencies.
A guide to verifying .NET dependency injection containers to catch missing registrations and captive dependencies at startup.
A guide to implementing dependency injection in Avalonia UI applications using Lamar, covering setup, view models, and practical examples.
A guide to programmatically changing the ServiceLifetime of a service after it's been added to the .NET ServiceCollection.
Explains the Humble Object design pattern for separating hard-to-test dependencies from core logic to improve unit testing in software development.
Explains what middleware is in ASP.NET Core, its role in the request pipeline, and provides a practical implementation example.
A guide to organizing a .NET Dependency Injection container using extension methods for better structure and maintainability.
A guide to building a simple Dependency Injection container in .NET, explaining IoC and DI concepts with code examples.
A developer shares a conversation with ChatGPT about .NET Dependency Injection, highlighting the AI's accuracy and potential.
A guide to installing and using a new .NET 7 project template for building feature-rich console applications with Spectre.Console.
A tutorial on building .NET console applications with features like command-line arguments, configuration, logging, and dependency injection.
A guide to implementing configurable API URLs in Angular using injection tokens and environment files for different deployment stages.
A tutorial on how to implement and read app configuration from an appsettings.json file in a .NET MAUI application using Dependency Injection.
Explores using Swift's async/await for lightweight dependency injection and easier unit testing of asynchronous networking code.