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 a53f371 5.5 KB Updated

File contents

nice3point/revit-skills/tree/main/plugins/dotnet-advanced/skills/configuring-dotnet-dependency-injection commit a53f371f11

Frequently asked questions

npx skillmds@latest add nice3point/configuring-dotnet-dependency-injection