-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where should helper classes like TypeHelper, StringHelper etc be? #70
Comments
I just wanted to know how well you''ll be able to organize NopCommerce files using this CleanArchitecture Template. |
Code without external dependencies - core, but more likely you should create a shared library to keep reusable code and then link this as a dependency. Something like this:
From my perspective - I'm splitting Core into Contracts, Domain, Messages. Infrastructure into Persistence, Application, Application.Setup, Message broker. Web into UI, API(ie. API, ReadApi, PresentationApi). Core
Infrastructure
Web
I just want to mention - most shareable code like CQRS, DDD base implementation that is the root of everything is from a shared library. You will not find this in the description above, but if you want to place this somewhere it would be core and shared folder. |
I'd agree with @Xeinaemm |
Should helper classes be inside the Core project or the Infrastructure project?
The text was updated successfully, but these errors were encountered: