Category: WCF Data Service
-
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…
-
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…
-
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…
-
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…
-
Stored Procedure in WCF Data Service
In this article we will explore, how could we use Stored Procedure with WCF Data Service? You can read Introduction to WCF Data service and ODATA here To use Stored Procedure, at time of creation of Data Model, select Stored Procedure as part of Data Model. Now open EDMX file and right click on that.…
-
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…
-
WCF Data Service with LINQ to SQL Class
We have seen many articles and blogs talking about using WCF Data Service with ADO.Net Entity model generated class as model. In this article we are going to see, how to use WCF Data Service with LINQ to SQL Class. There are three conditions while using LINQ to SQL class with WCF Data Service. One…
-
Download PPT on WCF Data Service
Download PPT on WCF Data Service presented at Pune Developer Conference on December 19th 2010 WCFDataServicePune