I registered the services related to each project in a file, then in all Projects, one file is responsible for service registration, and each project is responsible for registering its services. It will help me in the future to find the place where I registered my services or the place where I want to register my services for each of my projects And if I didn’t answer to your question, please elaborate a bit more about the question
Of course, you can use attributes for registering them, but soon, we will have some other mapping profile files, and as I explained, clean architecture is all about how to organize the files
Thank you for creating such valuable content! Your videos consistently deliver quality. Keep up the great work!
I appreciate that!
Instead of automapper, try to use Mapster
keep going bro 🔥
Thanks 🔥
Why you travel all assemblies for single class,
I think you cqn add like a filter to point the needed class
I registered the services related to each project in a file, then in all Projects, one file is responsible for service registration, and each project is responsible for registering its services.
It will help me in the future to find the place where I registered my services or the place where I want to register my services for each of my projects
And if I didn’t answer to your question, please elaborate a bit more about the question
@@Foad_Alavi your code will look for any class exist in the project .
Why you didn’t use filters to filter the specific ones.
Of course, you can use attributes for registering them, but soon, we will have some other mapping profile files, and as I explained, clean architecture is all about how to organize the files