c# - Onion Architecture -
i setting project structure upcoming internal application trialling onion architecture proposed palermo (http://jeffreypalermo.com/blog/the-onion-architecture-part-3/).
i have followed guidelines, need verification on structure of project far.
before diagrams, questions:
i think references correct (set per diagram arrow means 'has reference to') verification good.
what should put in dependency resolution layer? helpers go? has reference other projects?
how web services & ui, communicate dal? (through core? how?)
what should go where? [broad question know...]
the simplified conceptual diagram follows (folders represent namespaces):
i think references correct (set per diagram arrow means 'has reference to') verification good.
1 looks ok not sure it's idea insert dependency resolution diagram.
what should put in dependency resolution layer? helpers go? has reference other projects?
2 believe dependency injection stuff here.
how web services & ui, communicate dal? (through core? how?)
3 core according palermo's diagram. in core, have repositories talking dal , domain models, , services (not web services) dealing repositories , domain models. , ui/web services talk services.
what should go where? [broad question know...]
4 again, think answer in palermo's diagram. in opinion, organizing projects can different , trivial when there full understanding of architecture.
onion architecture became obvious me once understood ddd , necessary design patterns such mvc, dependency injection, repository/service, orm.
Comments
Post a Comment