Skip to content

Vake93/ASP.NET-Core-ServiceRegisterCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ServiceRegisterCore

Class Annotation Based Service Registration for ASP.NET Core

When registring a lot of services in a ASP.NET Core Project ConfigureServices Method often get filled with service add methods.

ConfigureServices Method

This allows you move the declaring of the scope of the service as a class annotation and have a clutter free ConfigureServices Method.

ConfigureServices Method Updated

TodoItemService Class with annotation

EmailSender Class with annotation

Sample Project

Sample Project using ServiceRegisterCore can be found here!

Get It on Nuget

https://www.nuget.org/packages/ServiceRegisterCore/

About

Class Annotation Based Service Registration for ASP.NET Core

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages