migrating-autofac-to-dotnet-di Skill
Removes Autofac entirely and migrates to ASP.NET Core built-in DI by mapping container registrations, lifetimes, and module patterns. Use when upgrading .NET projects that reference Autofac packages, when converting ContainerBuilder registrations, or when replacing Autofac modules with IServiceCollection extensions. Tr Published by microsoft in upgrade-agent-plugins.
Decision snapshot
Is this a fit?
Research, Includes SKILL.md, Reusable instructions
Compatibility not yet detected.
Permission behavior not yet detected.
Copy skill directory
2 months ago · NOASSERTION license
No specific cautions were detected. Review the source and requested permissions before installing.
What is migrating-autofac-to-dotnet-di Skill?
Removes Autofac entirely and migrates to ASP.NET Core built-in DI by mapping container registrations, lifetimes, and module patterns. Use when upgrading .NET projects that reference Autofac packages, when converting ContainerBuilder registrations, or when replacing Autofac modules with IServiceCollection extensions. Tr Published by microsoft in upgrade-agent-plugins. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement. See how SkillIndex evaluates profiles.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Research
- Research use cases
Declared skill metadata
- Source file: plugins/upgrade-agent/extenders/upgrade-dotnet/upgrade/skills/lazy/libraries/migrating-autofac-to-dotnet-di/SKILL.md
These fields retain source and confidence evidence from the indexed SKILL.md.
Compatibility and setup
- Install or run with Copy skill directory
When to use migrating-autofac-to-dotnet-di Skill
- Use it for research.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/upgrade-agent-plugins
- Skill file: plugins/upgrade-agent/extenders/upgrade-dotnet/upgrade/skills/lazy/libraries/migrating-autofac-to-dotnet-di/SKILL.md
What it does
Removes Autofac entirely and migrates to ASP.NET Core built-in DI by mapping container registrations, lifetimes, and module patterns. Use when upgrading .NET projects that reference Autofac packages, when converting ContainerBuilder registrations, or when replacing Autofac modules with IServiceCollection extensions. Tr
Skill instructions
Autofac to ASP.NET Core DI Migration Overview Converts Autofac DI registrations to ASP.NET Core's built-in IServiceCollection pattern. The built-in container covers most registration scenarios; assembly scanning requires the Scrutor NuGet package. Related skill: If the goal is to keep Autofac but modernize its integration with ASP.NET Core, use integrating-autofac-with-dotnet instead. Verification Before starting, confirm the project actually uses Autofac. Search for Autofac NuGet references and ContainerBuilder usage. If none found, inform the user there is nothing to migrate. Workflow Migration Progress: - [ ] Step 1: Locate Autofac registrations - [ ] Step 2: Document all registrations - [ ] Step 3: Remove Autofac code - [ ] Step 4: Remove Autofac packages - [ ] Step 5: Create registration helper - [ ] Step 6: Wire into Program.cs - [ ] Step 7: Build and verify Step 1: Locate Autofac registrations Find ContainerBuilder setup code (check global.asax.cs, Startup.cs, or Autofac module
Verified compatibility and discovery
Frequently asked questions
What is migrating-autofac-to-dotnet-di?
migrating-autofac-to-dotnet-di is a open-source AI agent skill with Copy skill directory. Removes Autofac entirely and migrates to ASP.NET Core built-in DI by mapping container registrations, lifetimes, and module patterns.
Who is migrating-autofac-to-dotnet-di best for?
migrating-autofac-to-dotnet-di is best for reusing agent instructions, scripts, and references, research workflows.
How do I install migrating-autofac-to-dotnet-di?
Install or run migrating-autofac-to-dotnet-di using Copy skill directory. Check migrating-autofac-to-dotnet-di for the latest setup command.
Is migrating-autofac-to-dotnet-di actively maintained?
migrating-autofac-to-dotnet-di may need a closer maintenance check before production use.
Project health auto-fetched from the source repository.
Maintain this resource?
Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.