View
Logic or Data Presentation Logic, when Data is received inside the Controller, we fill up the ViewModel with the Data, add some View related flags inside it and pass it on to the View. Web View Logic goes to the Controller, making data UI oriented.
Routing Logic: In ASP.NET this routing logic is coded inside the Routing Engine. Which Request is mapped to which Controller Action. · Routing Logic goes to the Routing Engine
Data Adapter Logic, this is the Auto-mapper work done at the level of all layers.
Persistence Logic, archiving the Data in the Database. Persistence Logic Goes to Entity Repository Classes, live inside the Data Project
High level Application Logic or Use case Logic consisting of Command and Queries live inside the App Sevice Layer. Application Logic goes to App. Service Classes, Command Logic and Query Logic.
Low level Domain Logic or Business Logic or Business Rules
or Enterprise Logic live inside the Domain Layer. · Domain Logic goes to Domain Classes
·
·
No comments:
Post a Comment