migrating-autofac-to-dotnet-di

Official

Effortlessly migrate from Autofac to ASP.NET Core's built-in DI

Authormicrosoft
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies the migration process from Autofac to ASP.NET Core's built-in Dependency Injection (DI), ensuring seamless integration and compatibility during application upgrades.

Core Features & Use Cases

  • Autofac to Core DI Conversion: Maps Autofac container registrations to ASP.NET Core's IServiceCollection.
  • Lifetime Scope Mapping: Translates Autofac lifetimes to their Core DI equivalents.
  • Use Case: When upgrading a .NET project that uses Autofac, this Skill helps in converting all container registrations, simplifying the transition to Core DI.

Quick Start

Run the skill to automatically convert all Autofac registrations in your project to ASP.NET Core's built-in DI.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: migrating-autofac-to-dotnet-di
Download link: https://github.com/microsoft/upgrade-agent-plugins/archive/main.zip#migrating-autofac-to-dotnet-di

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.