My Courses on Domain-Driven Design Fundamentals Automated Testing for Fraidy Cats Like Me Getting Started with Entity Framework 5 Entity Framework in the Enterprise Entity.
Download
Report
Transcript My Courses on Domain-Driven Design Fundamentals Automated Testing for Fraidy Cats Like Me Getting Started with Entity Framework 5 Entity Framework in the Enterprise Entity.
My Courses on
Domain-Driven Design Fundamentals
Automated Testing for Fraidy Cats Like Me
Getting Started with Entity Framework 5
Entity Framework in the Enterprise
Entity Framework Code First Migrations
Data Layer Validation with Entity Framework 4.1+
Entity Framework 4.1 - DbContext Data Access
Entity Framework 4.1 - Code First
Querying the Entity Framework
Designer Supported EDM Customization
Entity Framework and Data Models
Entity Framework 4.0 By Example
“Forget about persistence”
“But….but … but …”
Human
Resources
Product
Product
Customer
Sales
Shipping
Marketing Accounting
Management
Inventory
Service
Product
Customer
Sales
Marketing
Management
Service
Human
Resources
BOUNDED CONTEXT
Domain-Driven Design, Eric Evans 2003
Cells can exist because their
membranes define what is in
and out and determine what
Product
Product
Sales
Shipping
Management
Inventory
“Re-Use is Good”
“Duplication is Bad”
Customer
Management
Sales
Shipping
Customer
Service
Marketing Accounting
Contact
Management
Sales
Shipping
Customer
Service
Marketing Accounting
Contact base class?
Domain-Driven Design, Eric Evans 2003
Don’t share types from a common assembly
Don’t write application code that assumes BC types match
Guarantees each type works within its Bounded Context
Domain Model
Invoice
Domain Model
Payee
Payments
Invoice
Credit
Payee
Persistence Model
Payments
Credit
Payments
Customers
Invoices
Credits
Entity Framework/Queries/Commands
DB Mappings,
DB concerns,
Follow EF rules
Customers
Extraneous navigations gone
Reshape Types (limitations)
Customers
Customers
Customers
Customers
Customers
Customers
Customers
Customers
Customers
Message
Queue
Other
Bounded
Context
Other
Service
Other
App
bit.ly/PS-DDD
bit.ly/1x925bu
Julie Lerman: Some DDD+EF Resources , bit.ly/1mDR2kd
DDD Community Website, domaindrivedesign.org
bit.ly/1mDR2kd
Domain-Driven Design, Tackling Complexity in the Heart of Software
Eric Evans, Addison-Wesley, 2003
Implementing Domain-Driven Design
Vaughn Vernon ,
My Courses on
Domain-Driven Design Fundamentals
Automated Testing for Fraidy Cats Like Me
Getting Started with Entity Framework 5
Entity Framework in the Enterprise
Entity Framework Code First Migrations
Data Layer Validation with Entity Framework 4.1+
Entity Framework 4.1 - DbContext Data Access
Entity Framework 4.1 - Code First
Querying the Entity Framework
Designer Supported EDM Customization
Entity Framework and Data Models
Entity Framework 4.0 By Example
Private Setters
EF populates via reflection
Value Objects
Favor 1-way navigations
EF Rules mess up my
aggregate
Map as Complex Types*
EF can handle it
Ditch EF relationship magic
for Writes
*Jimmy Bogard EF&DDD Scorecard: Wonky issues around null values. He prefers entities
(Adapt CQRS concepts?)
http://channel9.msdn.com/Events/TechEd
www.microsoft.com/learning
http://microsoft.com/technet
http://developer.microsoft.com
http://www.visualstudio.com
http://blogs.msdn.com/b/developer-tools/
http://msdn.microsoft.com/vstudio