AppDevelopmentPattern v1
AppDevelopmentPattern v1
T4 Templating
Data Access
Database
Persistence mediums can include SQL, DB2, XML, flat files, etc. Implementing the IStore interface abstracts differences between mediums.
FluentSqlOrderStore
Business Layer
IOrderService
WcfOrderServiceProxy
IOrderService
IOrderService
Service Requests
Services interface through request/response contracts in order to easily implement a WCF service wrapper and proxy when needed.
Service Responses
Presentation Layer
OrderProvider
Presentation Entities
UI
If business entity properties must be formatted for display create presentation entities with the formatted properties which inherit from the business entity and a presentation service or map to create them.