100 likes | 233 Vues
This guide by Sergey Barskiy and Tyler Technologies introduces WCF Data Services and the OData protocol at an introductory level. Learn how to quickly expose a database through a service, supporting full CRUD operations and RESTful principles. The guide covers key concepts such as using Entity Framework, exposing tables and custom operations, and handling authentication methods. It aims to equip developers with the knowledge to implement OData services that are standards-based and consumable from various platforms, including Azure.
E N D
WCF Data ServicesGetting Started Guide Sergey Barskiy Architect, Tyler Technologies Level: Introductory
OData • Open Data Protocol • Open Standard • Query and Update Data • Based on Atom Publishing Protocol • Deep commitment to REST • Currently in v.3
WCF Data Services • Microsoft Implementation of OData • 5.3 is the latest version
Why WCF Data Services • Quickly expose a database through a service • Full CRUD support • RESTfull • Consumable from any platform • Standards based • Support options • Clients for all platforms • Azure Support
WCF Data Services • Data Source for the Service • EF Object Context • EF DbContext • Configuration Options • Limiting Results • Writable vs. Read-Only Data
Producing Data • Exposing Tables • Custom Classes • Custom Operations (WebGet, WebInvoke)
Authentication and Authorization • WCF (Web) under the cover • Authentication Methods • Windows • Forms • Basic • Authorization Methods • Interceptors • Query • Change
Formatting Data • AtomPub (default) • JSON
Consuming Data • Accessing Data via HTTP Client • Using Client Library
Contact Info • sergey@barskiy.com • www.DotNetSpeak.com