To OData or Not to OData Chris Eargle kodefuguru.com
What kind of apps do you build?
Monolithic Application I do everything Database
Separation of Concerns Model View Controller MVC is just one example.
Layered Application Workflow Component Entity Business Layer DAL Component Gateway Data Access Layer Controller View Model Presentation Layer Crosscutting Concerns
Enterprise Applications DB Workflow Service Data Service Business Service WPF App Console App Web App Public Service
Enterprise Ecosystem
Service-Oriented Architecture Standardized Contract Loose Coupling Abstraction Reusability Autonomy Statelessness Discoverability Composability
Two Primary Styles RPC Remote Procedure Call REST Representational State Transfer
What is REST?
REST Architectural Style Stateless Not True!!! Resources
Resource-Oriented Architecture Expose many URIs One for each resource No cookies representing IDs Aggregate Resources are represented with a URI URI should facilitate “cut & paste”
What is OData?
OData Open Data Protocol REST-based content-type AtomPub JSON XML
Relational Data Resources
OData Providers WCF Data Services WCF RIA Services SharePoint 2010 SharePoint 2010
Enterprise Infrastructure Applications Services Resources OData
Resource-Oriented Infrastructure Services ResourcesOrchestration Applications
Potential Services Workflow Component Entity Business Layer DAL Component Gateway Data Access Layer Controller View Model Presentation Layer Crosscutting Concerns
AN ODATA SERVICE DEMO
Should We Use OData?
Stay up to date with MSDN Belux Register for our newsletters and stay up to date: Technical updates Event announcements and registration Top downloads Follow our blog Join us on Facebook LinkedIn: Download MSDN/TechNet Desktop Gadget
TechDays 2011 On-Demand Watch this session on-demand via Channel9 Download to your favorite MP3 or video player Get access to slides and recommended resources by the speakers
THANK YOU