consultant/mentor Microsoft MVP, INETA Speaker, ASPInsider, MCP, VTdotNET Leadercontact twitter theDataFarm.com/blog.

Slides:



Advertisements
Similar presentations
Introduction to the Spring Framework
Advertisements

Chapter 13 Review Questions
Jeff Derstadt Senior Development Lead Microsoft Corporation Patterns & Architecture.
Unit Testing ASP.Net MVC
Domain-Driven Design Fundamentals Automated Testing for Fraidy Cats Like Me Getting Started with Entity Framework 5 Entity Framework in the Enterprise.
Craig Berntson
Key takeaway Go beyond Domain Model and move towards CQRS (related session B313)
THE RELATIONAL DATABASE MODEL & THE DATABASE DEVELOPMENT PROCESS Fact of the Week: According to a Gartner study in ‘06, Microsoft SQL server had the highest.
Our mission is to provide scholarships to college students living in Missouri and Kansas. We want to create a user-friendly website for ordering our product.
Database Design University of California, Berkeley
Domain Modelling Paul Stovell. Architecture: Implicit or Explicit? Architecture exists implicitly But if you don’t define it, it probably sucks.
9/6/2001Database Management – Fall 2000 – R. Larson Information Systems Planning and the Database Design Process University of California, Berkeley School.
Chapter 3 Database Management
9/7/1999Information Organization and Retrieval Database Design: Conceptual Model and ER Diagramming University of California, Berkeley School of Information.
Introduction Booktruck.com aims to: Combine the strengths of the first two generations, while avoiding many of their weaknesses Penetrate sizable existing.
Collecting and Reporting Accounting Information Design of an effective AIS begins by considering outputs from the system. Outputs of an AIS include: 1.
Microsoft Dynamics AX Database Application Object Server (AOS) ASP.NET User Controls DataClient SDK ASP.NET Controls Microsoft Dynamics.
8/28/97Information Organization and Retrieval Database Design University of California, Berkeley School of Information Management and Systems SIMS 202:
ORM Technologies and Entity Framework (EF)
Discover, Master, InfluenceSlide 1 SQL Server Compact Edition and the Entity Framework Rob Sanders Readify.
“If you build it, they will come.”. Virtual Business  There is much more that goes into a virtual business than just building the web site.  You will.
Introduction to ADO Entity Framework ir Denis VOITURON Source:
Global Address Book in Microsoft Dynamics® AX 2012
SOA Landscape Recommendations By >. Who we are  Team Members  Company History  Current & Past Client Projects  Note: have fun here. Make up your history.
Entity Framework Code First End to End
Entity Framework, a quickstart Florin−Tudor Cristea, Microsoft Student Partner.
Domain-Driven Design using the ADO.NET Entity Framework Tim McCarthy Principal Engineer, InterKnowlogy
1 e-Commerce & XML IUC#19 (c) 2001, M. McKenna/Commerce One, Inc. The Role of Unicode and XML in Transforming Global e-Commerce by Michael G. McKenna /
Domain Driven Design. Set of blog posts spanning 10 months – building an app Fefactored along the way code to Patterns eg repository.
Chapter 1 Introduction to Databases Pearson Education ©
Todd Snyder Development Team Lead Infragistics Experience Design Group.
Building an Offline Smart Client using Domain-Driven Design Principles Tim McCarthy.
Virtual Business CREATING A WEB PRESENCE Copyright © Texas Education Agency, All rights reserved.
A Model of Accounting Information System Data Information Database Data processing software Management Environment Input physical resources Output physical.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
The sales order and purchasing processes MIS2101: Management Information Systems Based on material developed by C.J. Marselis.
Alcatel-Lucent CDC Workshop, Coaching & Knowledge Transfer Architecture.
Read it Again Books Inventory and sales system Developed by: Sukesh Bodavula Andy Moon Raghu Ram Vempali.
Technology In Action Chapter 11 1 Databases and… Databases and their uses Database components Types of databases Database management systems Relational.
What is a Database? SECTION 1. Database Technology and its Evolution Decades long evolution Early data processing systems Today's systems New technology.
Architectural Patterns Support Lecture. Software Architecture l Architecture is OVERLOADED System architecture Application architecture l Architecture.
Chapter 1 1 Lecture # 1 & 2 Chapter # 1 Databases and Database Users Muhammad Emran Database Systems.
5 levels of SOA Governance Business Domain Governance Portfolio Governance Technology Governance Project Governance SLA Governance Strategic Tactical.
Core Indigo Patterns Ted Neward
1 CSE 2337 Introduction to Data Management Textbook: Chapter 1.
Advanced Accounting Information Systems Day 7 Database Modeling.
Enterprise Integration Patterns CS3300 Fall 2015.
1 Introduction to Databases. 2 Examples of Database Applications u Purchases from the supermarket u Purchases using your credit card u Booking a holiday.
Introduction Database integral part of our day to day life Collection of related database Database Management System : software managing and controlling.
Group Members: Tien Ho Linda Early Steve Meeks. Who Dunnit Bookstore System Request  Project Sponsor: Thomas Jones, Owner of WhoDunnit Bookstore  Phone:
Domain Driven Design Using.NET Dave Rael. What’s wrong with this code? Public void CallMethodThatMightThrowScaryException(int carelessInputWithoutValidation)
Domain-Driven Design for the Database-Driven Mind
ERP Components. Introduction ERP software is made up of many software components. Each component represents the major functional area of the organizations.
2 Architectural Concerns for Object/Relational Mappers (O/R-M) with Examples in NHibernate Jeffrey Palermo Chief Technology Officer Headspring Systems,
DOMAIN DRIVEN DESIGN Dave 12 May WHAT IS DDD? Set of principles to aid in building complex systems Enables us to focus on core problem domain NOT.
Our Business Requirements Grandmother’s Books - II.
Submitted by: Moran Mishan. Instructed by: Osnat (Ossi) Mokryn, Dr.
Best practices and architecture
Introduction to Databases
Entity Framework By: Casey Griffin.
Digital Lobby.
Data Solutions- Karm Upadhyay Zoheb Khan Swati Shukla
Architectural Roadmap

TechEd /17/2019 6:32 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Introduction to Databases
Signet & Privilege Management
Software Design Lecture 5.
SO-Architectural Roadmap
Entity Framework & LINQ (Language Integrated Query)
Presentation transcript:

consultant/mentor Microsoft MVP, INETA Speaker, ASPInsider, MCP, VTdotNET Leadercontact twitter theDataFarm.com/blog book web site LearnEntityFramework.com

Database Data Access UI LINQ & some Logic Business Logic

Extensibl eAdaptableTestable Maintainable Sensible!

UI Business/Domain Layer Repository/Unit of Work Infrastructure/Data Access Repository/Unit of Work Infrastructure/Data Access Entity Framework LINQ Tests Database Service Layer

Entity Framework DbContext Customers Sales Orders Products Payments Shipments Shippers Promotions SalesPeople Employees SalaryHistory Returns

Delimits the applicability of a particular model. BOUNDING CONTEXTS gives team members a clear and shared understanding of what has to be consistent and what can develop independently. - Domain Driven Design, Eric Evans 2003

Customer Service Sales Billing Returns Human Resources Shipping Marketing

Customer Service Sales Billing Returns Marketing Human Resources Shipping Customers SalesPeople Shipments Shippers Order Items Customer ShipAddress Customer Order Customer Payments Employee SalaryHistory Order Customer RMA Credit Items Customer Service Customer SalesPerson Addresses ContactHistory Promotion Customers Communications

Customer Service Sales Billing Returns Marketing Human Resources Shipping Customers SalesPeople Shipments Shippers Order ShipAddress Payments Employee SalaryHistory Customer RMA Credit Customer Service Customer SalesPerson Addresses ContactHistory Promotion Communications ItemsToShip Recipient ItemsOrdered Purchaser Invoice Payee ItemReturned Order Contacts “Ubiquitous Language”

“Parent” Entity Related EntityA Related Entity B Related EntityA Related EntityA Aggregate Root

Entity Framework/Queries/Commands Domain Model Persistence Model Payments Invoices Customers DB Mappings, DB concerns, Follow EF rules Domain Model Payments Credit Invoice Payee Payments Credit Invoice Payee Credits

“Encapsulate Redundant Data Access Code”

UI Business/Domain Layer Repository/Unit of Work Infrastructure/Data Access Repository/Unit of Work Infrastructure/Data Access Entity Framework LINQ Tests Database Service Layer

GetOrderById AddOrder RemoveOrder GetAllOrders GetCurrentOrders GetCachedOrders GetOrdersForCustomer Remove GetOrdersForProduct Persist

One repo per type? Read repos? Write repos? One repo per aggregate ? One repo per context?

Customer Repo Order Repo Address Repo Customer Orders Addresses Aggregate Root Order Items

Integration/ Interaction Tests Unit Tests EF Validation, State: No biggie DB: DropCreateDatabaseAlways

Unit of Work Classes UI Tests System.Data.Entity Metadata & DbContexts Fake Context & DataA Fake DbSet Fake Context & Data B ositories Repositories Classes

consultant/mentor Microsoft MVP, INETA Speaker, ASPInsider, MCP, VTdotNET Leadercontact twitter theDataFarm.com/blog book web site LearnEntityFramework.com

TODAY