I'm new to design patterns in .NET C# used with .NET core. I wonder if the factory pattern should be used in smaller .NET core applications when dependency Injection is built in?
I'm sure I missed the difference between both, but when coding it felt much easier to get everything from a service container (instances, scopes, singleton) then writing a Factory on my own.
thanks
Aucun commentaire:
Enregistrer un commentaire