Assembly Scanning in Needlr: Filtering and Organizing Type Discovery
Learn how to control assembly scanning in Needlr, including filtering assemblies, controlling which types get discovered, and organizing type registration in .NET applications.
Dependency injection tutorials for .NET, featuring the Needlr framework alongside keyed services, decorator patterns, hosted services, and plugin architectures.
Showing 1–6 of 29 articles
Learn how to control assembly scanning in Needlr, including filtering assemblies, controlling which types get discovered, and organizing type registration in .NET applications.
Learn how to use hosted services and background workers with Needlr, including automatic discovery of IHostedService and BackgroundService implementations.
Learn how to use keyed services in Needlr to register and resolve multiple implementations of the same interface using .NET 8's keyed service support.
Learn how to implement the decorator pattern in C# using Needlr's automatic decorator discovery, including the DecoratorFor attribute and manual decorator wiring.
Learn how to build modular .NET applications using Needlr's plugin system, including IServiceCollectionPlugin, IWebApplicationPlugin, and automatic plugin discovery.
Learn how to set up ASP.NET Core web applications with Needlr for dependency injection, including ForWebApplication, minimal APIs, and middleware configuration.