integrating-autofac-with-dotnet Skill
Migrates Autofac dependency injection configuration from ASP.NET Framework to ASP.NET Core's hosting model while keeping Autofac as the DI container. Use when upgrading projects that use Autofac, migrating Global.asax.cs or Startup.cs DI setup to Program.cs, or integrating AutofacServiceProviderFactory with the generic Published by microsoft in upgrade-agent-plugins.
What is integrating-autofac-with-dotnet Skill?
Migrates Autofac dependency injection configuration from ASP.NET Framework to ASP.NET Core's hosting model while keeping Autofac as the DI container. Use when upgrading projects that use Autofac, migrating Global.asax.cs or Startup.cs DI setup to Program.cs, or integrating AutofacServiceProviderFactory with the generic 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
- Developers using upgrade-agent-plugins
Technical details
- Install or run with Copy skill directory
When to use integrating-autofac-with-dotnet Skill
- Use it for developers using upgrade-agent-plugins.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/upgrade-agent-plugins
- Skill file: plugins/upgrade-agent/extenders/upgrade-dotnet/upgrade/skills/lazy/libraries/integrating-autofac-with-dotnet/SKILL.md
What it does
Migrates Autofac dependency injection configuration from ASP.NET Framework to ASP.NET Core's hosting model while keeping Autofac as the DI container. Use when upgrading projects that use Autofac, migrating Global.asax.cs or Startup.cs DI setup to Program.cs, or integrating AutofacServiceProviderFactory with the generic
Skill instructions
Register Autofac with ASP.NET Core Overview When migrating from ASP.NET Framework to ASP.NET Core, Autofac integration changes significantly. The old pattern of manually building a container and setting DependencyResolver is replaced by registering Autofac as the host's service provider factory. This ensures Autofac participates in the standard DI lifecycle rather than bypassing it. Related skill: If the goal is to remove Autofac entirely and replace with built-in DI, use migrating-autofac-to-dotnet-di instead. Workflow Migration Progress: - [ ] Step 1: Verify Autofac usage - [ ] Step 2: Install required package - [ ] Step 3: Locate and extract existing registrations - [ ] Step 4: Register Autofac as service provider factory - [ ] Step 5: Migrate container registrations - [ ] Step 6: Remove obsolete integration code - [ ] Step 7: Validate Step 1: Verify Autofac usage - Confirm the project uses Autofac for dependency injection. If not, skip — inform the user there is nothing to do. - Ch
Explore related resources
Frequently asked questions
What is integrating-autofac-with-dotnet?
integrating-autofac-with-dotnet is a open-source AI agent skill with Copy skill directory. Migrates Autofac dependency injection configuration from ASP.NET Framework to ASP.NET Core's hosting model while keeping Autofac as the DI container.
Who is integrating-autofac-with-dotnet best for?
integrating-autofac-with-dotnet is best for reusing agent instructions, scripts, and references.
How do I install integrating-autofac-with-dotnet?
Install or run integrating-autofac-with-dotnet using Copy skill directory. Check integrating-autofac-with-dotnet for the latest setup command.
Is integrating-autofac-with-dotnet actively maintained?
integrating-autofac-with-dotnet may need a closer maintenance check before production use.
Auto-fetched from GitHub.