1 / 21

Exploring OData: Best Practices, New Features & More

Learn about OData, its benefits, and implementation best practices. Discover the latest features for various platforms like Windows Phone, Silverlight, iPhone, and more. Explore data accessibility and powering experiences using Open Data Protocol. Get insights, demos, and practical examples. Join us on April 9th in Katowice for the Silesian Code Camp event. See you there!

maire
Download Presentation

Exploring OData: Best Practices, New Features & More

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. OData – dzielmysię danymi! Tomasz Wiśniewski

  2. O mnie • Programista LGBS Polska • Członek ŚRGM ( http://srgm.pl ) • Blog: http://tomaszwisniewski.com • Mail: kontakt@tomaszwisniewski.com • Kurs C# - VirtualStudy.pl

  3. 2nd SilesianCodeCamp • 2 ścieżki - .NET i .NET + SQL • 8 prelegentów (a może nawet 9 ;) ) • 8 sesji • Data: 9 kwietnia • Miejsce: ul. 1 Maja 133, Katowice (Kamsoft) • WWW: http://scc.srgm.pl

  4. Agenda • Co to jest Odata • Jak korzystać? • Jak tworzyć? • Best practises • Nowości

  5. Windows Phone Silverlight iPhone Windows webOS Browser Web Site Web API Services powering Experiences

  6. Open Data Protocol – protokół sieciowy (Webowy) do pobierania i aktualizowania danych

  7. = HTTP / ATOM + + + JSON QUERY METADATA Open Specification Promise

  8. Insights

  9. Demo Korzystanie z OData - WWW

  10. Astoria .NET 3.5 .NET 4.0 Nazwa kodowa ADO.NET Data Services WCF Data Services

  11. Demo .NET – korzystanie z OData i tworzenie serwisu

  12. Best practises • Wielkość strony – 500 elementów • Przyjazne źródła • Cache • „Ładny” adres • Wsparcie dla cross-domain • Wsparciedla $format=json

  13. Demo Best practises

  14. Nowości – WCF Data Services CTP2 March • Multi-valuedproperties (Bag) • Namedresourcestream • Partycjonowanie i geolokalizacja • Patch • Preferheader • Dodatkowe wsparcie dla RSS (<category>, <link>) • Properties on derivedtypes <linkrel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Emails"type="application/atom+xml;type=feed" title=„Email"href=„Employees(1)/Emails" /> <d:Emailm:type="Bag(Edm.String)">  <d:element>adres1@witryna1.pl</d:element>  <d:element>adres2@witryna2.pl</d:element></d:Email>

  15. Coś do pobrania • OData – http://www.odata.org • JSONPSupportBehavior- http://code.msdn.microsoft.com/DataServicesJSONP • WCF Data Services VS 2010 .NET4 / SilverlightCTP 2 March - http://tinyurl.com/wcfctp2 • Moja sesja na VirtualStudy.pl - http://tinyurl.com/twodata • Artykuły – http://tomaszwisniewski.com/artykuly

  16. Zalety OData • Dane jako zasoby • Otwarty dostęp do danych • Niezależność od źródła • Logika biznesowa • Biblioteki

  17. Q&A

  18. Dziękuję za uwagę!

More Related