khellang/Scrutor
Assembly scanning and decoration extensions for Microsoft.Extensions.DependencyInjection observed · 2026-08-28
Health v2 · maintenance only
69/100
- Activity 63
- Release rhythm 58
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 9.5
- age_days: 3946
- days_rel: 282
- days_push: 222
- n_releases_24m: 11
Adoption not part of the score
4336 stars · 280 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Scrutor is a C# library providing assembly scanning and service decoration extensions for Microsoft.Extensions.DependencyInjection. It lets developers register classes by convention (filtering by interface, lifetime, etc.) and wrap existing registrations with decorators via a fluent API.
Use cases
- auto-register services by convention in ASP.NET Core
- scan an assembly and register all classes implementing an interface
- decorate registered services with decorators in .NET DI
- register open generic types like query handlers automatically
- reduce boilerplate in IServiceCollection registrations
- apply different lifetimes to batches of services
When to choose
- you use Microsoft.Extensions.DependencyInjection and want convention-based registration
- you need decorator support for DI-registered services
- you want to eliminate repetitive manual service registrations in large .NET codebases
When to avoid
- you use a different DI container with built-in scanning (e.g., Autofac, Lamar)
- your project has only a handful of services where manual registration is simpler
- you are not on the .NET platform
Facets
library · maturity active
middleware developer-tools backend developer-tools web-development dotnet cross-platform dependency-injection assembly-scanning service-decoration asp-net-core convention-based-registration microsoft-extensions-dependencyinjection
1 source
- readme: https://github.com/khellang/Scrutor · fetched 2026-08-28 · 73775f8da921
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| khellang/Scrutor | main | 69 |
For agents
markdown · JSON · MCP: product_card(name="khellang/Scrutor")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem