AnnotationServiceBuilder: Dependency Injections (Singleton, Scoped, Transient, Refit) in.NET!

Поділитися
Вставка
  • Опубліковано 18 вер 2024
  • 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/...
    AnnotationServiceBuilder
    Git project:
    github.com/gen...
    AnnotationServiceBuilder
    Git Examples:
    github.com/gen...
    AnnotationServiceBuilderExamples

КОМЕНТАРІ •