Migrate Cake.Tool from Autofac to Microsoft.Extensions.DependencyInjection
- Dominant language
- C#
- Stars
- 4.2k
- Forks
- 778
- Avg merge
- 1h 15m
- Merged PRs (30d)
- 19
Description
We're currently not using any advanced features of Autofac (to my knowledge), so we should investigate whether or not we can move to something more lightweight (perhaps the homebrewed DI container we use in `Cake.Frosting`?). I suspect we could reduce the load time for implicit bootstrapping by doing this.
Any investigation of this needs some kind of benchmarking to make sure we're not making it worse (or replace something without an improvement).
Contributor guide
Research direction
Start by tracing Cake.Tool's implicit bootstrapping and comparing its Autofac usage with the homebrewed dependency-injection container in Cake.Frosting. Establish a benchmark for load time before changing the container, then verify that the migration provides an improvement without regressions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- performance, tooling
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100