Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ncosentinov1.0.1MITIn 1 marketplace
Gets version-checked answers for Needlr service registration, lifetimes, decorators and ASP.NET Core setup in .NET projects. Needlr is source-generation-first, with reflection only as an explicit opt-in.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.

Needlr is an opinionated fluent dependency injection library for .NET that provides automatic service registration and web application setup through a simple, discoverable API. It's designed to minimize boilerplate code by defaulting to registering types from scanned assemblies automatically.
Needlr is source-generation-first: The default approach uses compile-time source generation for AOT compatibility and optimal performance. Reflection-based discovery is available as an explicit opt-in for dynamic scenarios.
AI and agentic runtime, evaluation, and provider integrations are developed in Foundry, including Foundry's optional Needlr integration packages.
[DecoratorFor<T>] attribute, plus manual AddDecorator extensionGetting Started Guide → - New to Needlr? Start here for a step-by-step introduction.
Additional documentation:
NexusLabs.Needlr.Build for multi-project solutionsFor AOT-compatible applications with compile-time type discovery:
using NexusLabs.Needlr.AspNet;
using NexusLabs.Needlr.Injection;
using NexusLabs.Needlr.Injection.SourceGen;
var webApplication = new Syringe()
.UsingSourceGen()
.ForWebApplication()
.BuildWebApplication();
await webApplication.RunAsync();
For applications that need runtime type discovery:
using NexusLabs.Needlr.AspNet;
using NexusLabs.Needlr.Injection;
using NexusLabs.Needlr.Injection.Reflection;
var webApplication = new Syringe()
.UsingReflection()
.ForWebApplication()
.BuildWebApplication();
await webApplication.RunAsync();
For convenience with automatic fallback from source-gen to reflection:
using NexusLabs.Needlr.AspNet;
using NexusLabs.Needlr.Injection;
using NexusLabs.Needlr.Injection.Bundle;
var webApplication = new Syringe()
.UsingAutoConfiguration()
.ForWebApplication()
.BuildWebApplication();
await webApplication.RunAsync();
Add the core package and choose your discovery strategy:
<!-- Core dependency injection (abstractions only) -->
<PackageReference Include="NexusLabs.Needlr.Injection" />
<!-- CHOOSE ONE: Source Generation (recommended for AOT) -->
<PackageReference Include="NexusLabs.Needlr.Injection.SourceGen" />
<PackageReference Include="NexusLabs.Needlr.Build" PrivateAssets="all" />
<!-- CHOOSE ONE: Reflection (for dynamic scenarios) -->
<PackageReference Include="NexusLabs.Needlr.Injection.Reflection" />
7-day copy clicks
npx claudepluginhub ncosentino/needlr --plugin needlrBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground