Developer code samples

Download code samples and applications for Windows 8, Windows Phone, Microsoft Azure, Office, SharePoint, Silverlight and other products. You can also explore the Official Visual Studio C#, VB.NET, and 101 LINQ samples.New samples are added frequently in JavaScript, C++, C#, Visual Basic, and F#.

Each sample is licensed to you by the party distributing it. Microsoft does not guarantee the samples or grant rights for any sample distributed by a party other than Microsoft. Use of this site is subject to the Terms of Use.
Sort by: rss
49 results in WCF Data Services [Clear]
Glenn Gailey [MSFT] - Microsoft
This sample demonstrates how to use WCF Data Services to implement an OData service that uses a streaming provider to store and retrieve image files, along with information about each photo. It includes a client application that enables you to consume and upload new photos.

Featured
C#
Visual Studio Product Team

Visual Studio Product Team MSFT

Visual Studio Platform Team samples are developed and tested by the Visual Studio Platform Team to ensure that you have a great experience.

View samples
- Microsoft
This sample shows a simple ADO.NET Data Service exposing data through the ADO.NET Entity Framework and a WPF application consuming the ADO.NET Data Service.
(28)
Updated 3/16/2012
Released 5/25/2011
69,197 Downloads
Glenn Gailey [MSFT] - Microsoft
This sample demonstrates how to use WCF Data Services to implement an OData service that uses a streaming provider to store and retrieve image files, along with information about each photo. It includes a client application that enables you to consume and upload new photos.

(12)
Updated 10/18/2011
Released 5/12/2011
17,085 Downloads
C#
Glenn Gailey [MSFT] - Microsoft
This sample contains the Visual Studio projects that are created when you complete the WCF Data Services 5.0 quickstart. The quickstart helps you become familiar with the Open Data protocol (OData) and WCF Data Services through a series of tasks.
(4)
Updated 4/9/2012
Released 4/9/2012
22,461 Downloads
Glenn Gailey [MSFT] - Microsoft
This sample contains the Visual Studio projects that are created when you complete the WCF Data Services quickstart. This quickstart helps you become familiar with the Open Data Protocol (OData) and WCF Data Services through a series of tasks.
(2)
Updated 6/30/2011
Released 4/15/2011
16,150 Downloads
AAD REST
NOTE: this sample is outdated. The technology, methods and interface instructions have been replaced with newer features. To see an updated app that builds a similar app, see
http://github.com/AzureADSamples/WebApp-GraphAPI-DotNet
(4)
Updated 5/13/2014
Released 9/11/2012
7,392 Downloads
C#
Peter Puszkiewicz - Microsoft
This sample explains how to use the Microsoft Translator API through the Windows Azure Marketplace by creating a sample application which takes an input string and translates it from the detected source language to a random output language.
(7)
Updated 2/9/2012
Released 2/9/2012
4,576 Downloads
C#
More Microsoft Samples
This sample shows you how to consume data in a Windows Store app that you build by using the Hub project template in Visual Studio 2013 Preview. The sample features a basic Real Estate portal.
(3)
Updated 4/16/2014
Released 8/30/2013
2,313 Downloads
Glenn Gailey [MSFT] - Microsoft
This sample uses the WCF Data Service and Entity Framework 4.1 to create an OData service that exposes data from the Northwind sample database by using the new Code First functionality in Entity Framework.
(3)
Updated 2/23/2012
Released 6/14/2011
5,848 Downloads
C#
Derrick VanArnam [MSFT]
This sample demonstrates how to create an Entity Framework 5.0 (EF) parameterized query provider to dramatically improve query performance.
(0)
Updated 8/30/2013
Released 8/30/2013
902 Downloads
C#
Rainer Stropek
This example implements a sharding sample for Azure. It shows how to implement a custom LINQ provider that contains the sharding logic. A custom OData service enables REST queries to the sharded database. Finally it compares the performance using a cloud-based load testing tool.
(11)
Updated 5/4/2011
Released 5/4/2011
5,831 Downloads
C#

Couldn't find the sample you were looking for?

1 - 10 of 49 Items