samedi 11 septembre 2021

What is the best way to registering a service for storage manager by using design pattern?

To use customized managers like Identity.UserManager, we have to register them by something like services.AddScoped(…) on ConfigureServices(…). Think about what’s happening if more than one service going to be required? Registering separate services, or creating one big manager! Both are worse for me!

This is what I got, and sharing with you guys :)

Please, let me know if you have a better one.

Aucun commentaire:

Enregistrer un commentaire