1 / 24

To OData or Not to OData

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. MVC is just one example. Controller. View. Model. Layered Application. Presentation Layer. Crosscutting Concerns.

kim
Télécharger la présentation

To OData or Not to OData

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. To OData or Not to OData Chris Eargle kodefuguru.com

  2. What kind of apps do you build?

  3. Monolithic Application I do everything Database

  4. Separation of Concerns MVC is just one example. Controller View Model

  5. Layered Application Presentation Layer Crosscutting Concerns Controller View Model Business Layer Entity Workflow Component Data Access Layer DAL Component Gateway

  6. Enterprise Applications Public Service Console App Web App WPF App Business Service Workflow Service Data Service DB

  7. Enterprise Ecosystem

  8. Service-Oriented Architecture • Standardized Contract • Loose Coupling • Abstraction • Reusability • Autonomy • Statelessness • Discoverability • Composability

  9. Two Primary Styles • RPC • Remote Procedure Call • REST • Representational State Transfer

  10. What is REST?

  11. REST • Architectural Style • Stateless • Not True!!! • Resources

  12. 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”

  13. What is OData?

  14. OData • Open Data Protocol • REST-based • content-type • AtomPub • JSON • XML

  15. Relational Data Resources

  16. OData Providers WCF RIA Services SharePoint 2010 WCF Data Services

  17. Enterprise Infrastructure Applications Resources Services OData

  18. Resource-Oriented Infrastructure Services Applications Resources Orchestration

  19. Potential Services Presentation Layer Crosscutting Concerns Controller View Model Business Layer Entity Workflow Component Data Access Layer DAL Component Gateway

  20. DEMO An Odata Service

  21. Should We Use OData?

  22. Stay up to date with MSDN Belux • Register for our newsletters and stay up to date:http://www.msdn-newsletters.be • Technical updates • Event announcements and registration • Top downloads • Follow our bloghttp://blogs.msdn.com/belux • Join us on Facebookhttp://www.facebook.com/msdnbehttp://www.facebook.com/msdnbelux • LinkedIn: http://linkd.in/msdnbelux/ • Twitter: @msdnbelux DownloadMSDN/TechNet Desktop Gadgethttp://bit.ly/msdntngadget

  23. TechDays 2011 On-Demand • Watchthis session on-demand via Channel9http://channel9.msdn.com/belux • Download to your favorite MP3 or video player • Get access to slides and recommended resources by the speakers

  24. THANK YOU

More Related