C

Download OData Programming Cookbook for .NET Developers by Steven Cheng PDF

By Steven Cheng

70 fast-track, example-driven recipes with transparent directions and information for OData programming with .NET Framework evaluation grasp OData programming options and abilities by way of imposing sensible examples and observe them in real-world eventualities. locate basic and convenient ability to solve universal OData programming concerns extra successfully. discover the hot OData programming gains in most recent and destiny types of WCF information provider Well-designed recipes which are geared up in whole different types equivalent to server-side programming, client-side programming, webhosting and configuration, and safeguard. intimately Odata (Open facts Protocol) is an internet protocol for querying and updating info that offers the way to liberate your info and loose it from silos that exist in purposes this present day. OData allows information entry between a number of functions, providers, and shops by way of adopting current net applied sciences comparable to HTTP, XML, and JSON. This e-book offers with universal OData programming circumstances over the Microsoft .NET Framework platform and eases the educational curve for a .NET developer to begin incorporating OData in facts carrier improvement. This booklet offers a set of recipes that support .NET builders to get accustomed to OData programming in a brief and effective demeanour. The recipes disguise such a lot OData positive factors from the previous ADO.NET facts provider to the present WCF info carrier platform. moreover, all of the pattern situations listed here are according to real-world situations and matters that .NET builders may stumble upon while programming with OData in software improvement. This publication may be your convenient consultant with simple to complicated stroll throughs of universal OData programming circumstances for the Microsoft .NET Framework platform. you'll research speedy options to valuable initiatives to combine the ability of OData at either server-side and client-side. This booklet might help you grasp using OData with .NET Framework by means of taking you thru hands-on and

Show description

Read Online or Download OData Programming Cookbook for .NET Developers PDF

Best c# books

A Basic UNIX Tutorial

This instructional includes fourteen sections, each one of which addresses a basic point of UNIX computing. It concentrates on illustrating the principal thoughts by way of offering brief reasons, besides examples, and routines.

How to Code .NET: Tips and Tricks for Coding .NET 1.1 and .NET 2.0 Applications Effectively

What's sturdy code? Writing reliable code is known as a query approximately what the code is making an attempt to unravel. (And strong code isn't to be stressed with styles simply because no longer all items of fine code are styles. ) We debate approximately solid code simply because there isn't only a unmarried piece of excellent code, yet such a lot of sturdy items of code.

Expert .NET Micro Framework

The Microsoft . web Micro Framework is a small and effective . web runtime surroundings used to run controlled code on units which are too small and source limited for home windows CE and the Compact Framework. specialist . internet Micro Framework will train you every thing you must comprehend in an effort to use the .

Extra resources for OData Programming Cookbook for .NET Developers

Sample text

NorthwindDataContext > { // This method is called only once to initialize service-wide // policies. svc service file in Visual Studio and launch it through the View in browser context menu. How it works... Although we directly use the LINQ to SQL data model class as the data source, the WCF Data Service runtime actually treats the LINQ to SQL data model class like a custom data source type. Therefore, any public member (of the data model class) who implements the IQueryable interface will be exposed as an entity set in the generated service.

NET Entity Framework, LINQ to SQL, and CLR Objects through OData service endpoints. Also, we're not limited to these existing data models, we can build our own custom Data Service Provider or convert other services (such as WCF RIA service) to OData service. In this chapter, we will demonstrate several cases of using WCF Data Service to build OData services that can deal with different kinds of data source models. NET Framework platform. And by using different means, we might need to choose different kind of data sources to provide the actual data that will be published and exposed in the OData service.

How to do it... The following screenshot shows the class diagram of the data model created from the Northwind sample database (four tables are included): Create a new WCF RIA Service by using the Domain Service Class item template in Visual Studio (see the following screenshot). Specify the service options (especially the one for enabling an OData endpoint) in the Add New Domain Service Class dialog (see the following screenshot). Available DataContext/ObjectContext classes: This is the data model class we will use for providing the underlying data objects.

Download PDF sample

Rated 4.70 of 5 – based on 9 votes