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
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
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?
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