Configuring Dotnet Dependency Injection

Register and review .NET dependency-injection services and lifetimes on IServiceCollection. USE FOR: adding a registration, choosing singleton/scoped/transient, grouping registrations behind a feature extension, assembly scanning with Scrutor, or validating a service graph. DO NOT USE FOR: choosing which kind of type to declare (use designing-dotnet-types), or wiring the host builder and its lifecycle (use configuring-dotnet-hosting).

nice3point Updated 21 repo stars

File contents

nice3point/revit-skills commit a53f371f11

Frequently asked questions

npx get-skill add nice3point/configuring-dotnet-dependency-injection