Добавлено: 11 апреля 2023 г.
Nowadays, everybody so concerned about DDD and how to implement business logic properly that people just forget about existence of other layers. Bada-bing bada-boom, other layers do exist.
Shocked, don’t ya? Take your sit, you will be even more shocked when you realize this story dedicated to Application layer, also known as the least popular layer.
I’ve seen multiple projects: some have it, some just don't understand what should be there and...
далее...
Добавлено: 10 февраля 2023 г.
A Quick Guide to Transient, Scoped, and Singleton in C#.
In C#, the Transient, Scoped, and Singleton scopes are options for controlling the lifetime of objects which are created by dependency injection.
Transient
Transient objects are created each time they are requested. This means that if a Transient is injected into multiple consumers, each consumer will receive a separate instance of the object.
Scoped
Scoped objects are created once per request. This means that if...
далее...