Working with OData and WinJS ListView in Metro Application

In this post we will see how to consume Netflix OData feed in HTML based Metro Application. Movies information will be displayed as following. At the end of this post, we should have output as below, Netflix exposed all movies information as OData and that is publicly available to use. Netflix OData feed of movies…… Continue reading Working with OData and WinJS ListView in Metro Application

How to create WCF Data Service with $JSONP format

In this post we will create WCF Data Service takes $JSONP in query and returns JSON data as response. For example if we want to fetch data as JSON we can fetch as following, http://localhost:5157/WcfDataService1.svc/People?$format=json To start with, Let us create WCF Data Service on School Database. Open Visual Studio 2010 as administrator and create…… Continue reading How to create WCF Data Service with $JSONP format

How to work with Custom Method in WCF Data Service?

In this post we will see how could we expose a custom method in WCF Data Service? There are three steps involved in doing that Create a partial class of Entity class and add desired custom method in that. Add a method with WebGet attribute in service class. This method will make a call to…… Continue reading How to work with Custom Method in WCF Data Service?

Consuming ODATA in Silverlight 4.0

ODATA is everywhere and so is Silverlight. In this post, I will show, How ODATA can be consumed in Silverlight? “ OData URL I will be using NorthWind OData URL. You can access that URL from below link. http://services.odata.org/Northwind/Northwind.svc/ We are going to fetch Customers table from NorthWind DataBase. Create Project and Add Service Reference…… Continue reading Consuming ODATA in Silverlight 4.0

Fetching Data from SQL Azure table in Windows 7.1 [Mango] Phone using WCF Data Service

In this article, we will discuss about how to consume data from cloud [SQL Azure] in a Windows 7.1 [Mango] phone. SQL Azure and Windows 7.1 [Mango] phones are two common terms that you can hear about from many tech-savvy people. So I thought it is the right time to integrate these technologies. In this…… Continue reading Fetching Data from SQL Azure table in Windows 7.1 [Mango] Phone using WCF Data Service

WCF Data Service with SQL Azure

In this article we will expose database from cloud or SQL Azure as WCF Data Service. There two steps mainly involved in this 1. Creating local Database and migrating to SQL Azure 2. Exposing SQL Azure Database as WCF DATA Service Step1: Creating local Database and migrating to SQL Azure Creating Database The first step…… Continue reading WCF Data Service with SQL Azure