Genna Ian
Genna Ian
  • 3
  • 250
AnnotationServiceBuilder: Dependency Injections (Singleton, Scoped, Transient, Refit) in.NET!
Hello, everyone!
I’m excited to introduce AnnotationServiceBuilder-a powerful .NET library I developed to simplify dependency injection using custom annotations. This library makes it easy to register services with different lifetimes (Singleton, Scoped, Transient) and integrate Refit clients with minimal effort.
📦 Key Features:
Automatic Service Registration: Say goodbye to manual setup in Startup.cs or Program.cs.
Supports Multiple Lifetimes: Easily manage service lifetimes with [SingletonService] [ScopedService] [TransientService] , and [RefitClient] annotations.
Effortless Refit Integration: Automatically register Refit clients with just a few lines of code.
🔗 Learn More and Download:
NuGet:
www.nuget.org/packages/
AnnotationServiceBuilder
Git project:
github.com/genryianchev/
AnnotationServiceBuilder
Git Examples:
github.com/genryianchev/
AnnotationServiceBuilderExamples
Переглядів: 64

Відео

AnnotationServiceBuilder: Dependency Injection (Singleton) in .NET!
Переглядів 1022 місяці тому
Hello, everyone! I’m excited to introduce ASB-a powerful .NET library I developed to simplify dependency injection using custom annotations. This library makes it easy to register services with different lifetimes (Singleton, Scoped, Transient) and integrate Refit clients with minimal effort. 📦 Key Features: Automatic Service Registration: Say goodbye to manual setup in Startup.cs or Program.cs...