Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 1.19 KB

File metadata and controls

23 lines (12 loc) · 1.19 KB

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/