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.
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.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Research
- Research use cases
Technical details
- 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
Explore related resources
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.
Auto-fetched from GitHub.