Video on Picture Gallery for Windows 7 Phone using WCF REST Service

IService1.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Runtime.Serialization; 5 using System.ServiceModel; 6 using System.ServiceModel.Web; 7 using System.Text; 8 using System.IO; 9 10 namespace PictureService2 11 { 12 13 [ServiceContract] 14 public interface IService1 15 { 16 [OperationContract] 17 [WebGet(UriTemplate=”/GetFiles”)] 18 List<string> GetFilesName(); 19 20 21 [OperationContract] 22 [WebGet(UriTemplate=”/GetImage/{imageName}”)] 23 StreamContinueContinue reading “Video on Picture Gallery for Windows 7 Phone using WCF REST Service”

Fixing of ODATA or WCF Data Service Client library bug for Windows7 Phone

Note: I would like to thank Tim for his solution and this article has been referred to his this http://timh.me/bAfFvh You can see video on this article http://dhananjaykumar.net/2010/07/01/videofixingodataclientlibraryissue/ Background When you download ODATA or WCF Data Service client library for Windows 7 phone and extract the System.Data.Service.Client.dll to some location and add this reference toContinueContinue reading “Fixing of ODATA or WCF Data Service Client library bug for Windows7 Phone”

Video on fixing WCF Data Service Client library for Windows7 phone

I have made this video referring  link of tim heuer http://timh.me/bAfFvh Download ODATA Client library from below link , http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=b251b247-70ca-4887-bab6-dccdec192f8d Download WP7fix power script from below link http://storage.timheuer.com/wp7ctpfix.ps1

Server side paging in WCF Data Service

Objective In this article, I will show you, how we can achieve server side paging in WCF Data service? Note: IF you are new to WCF Data Service, please read my other articles on WCF Data Service. PPT on WCF Data Service Introduction to WCF Data Service Here, I am assuming that, you have basicContinueContinue reading “Server side paging in WCF Data Service”

Creating WCF Data Service from scratch and Hosting in Console Application

Objective In this article, I will show how 1. WCF Service can be created from the scratch 2. WCF Service can be hosted in Console Application You can see video of this article here Let us say, we have a table called Student of below structure below in our data base In Student table RollNumberContinueContinue reading “Creating WCF Data Service from scratch and Hosting in Console Application”

Video on Hosting WCF Data Service in Console Application

MyDataService.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; using System.ServiceModel.Web; using System.Data.Services; using System.Data.Services.Common; namespace DemoHostingInConsole { public class MyDataService : DataService<StudentDBEntities> { public static void InitializeService(DataServiceConfiguration config) { config.SetEntitySetAccessRule(“*”, EntitySetRights.All); config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V2; } } } Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; using System.ServiceModel.Web; using System.Data.Services;ContinueContinue reading “Video on Hosting WCF Data Service in Console Application”

Hosting WCF Service with netTcpBinding in Windows Service

Objective This article will explain 1. How to create a WCF service with netTcpBinding ? 2. How to host the WCF service in Windows service ? 3. How to start windows service ? 4. How to consume the service ? You can see video of this article HERE Create WCF Service Step 1 Create aContinueContinue reading “Hosting WCF Service with netTcpBinding in Windows Service”

Video tutorial on Hosting WCF Service with netTcpBinding in Windows Service

WCF Service IService1.cs using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace NetTcpServicetoHostinWindowsServices { [ServiceContract] public interface IService1 { [OperationContract] string GetData(int value); } } Service1.svc.cs using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace NetTcpServicetoHostinWindowsServices { public class Service1 : IService1 { public string GetData(int value)ContinueContinue reading “Video tutorial on Hosting WCF Service with netTcpBinding in Windows Service”

Introduction to WCF Data service and ODATA

You can see video tutorial of this article Creating WCF Data Service Consuming WCF Data Service WCF Data Service, Project Astoria, OData and ADO.Net Data Service are same thing. What is ODATA? · ODATA is HTTP or web protocol to querying or manipulating data. · ODATA uses HTTP, JOSN or ATOM. · ODATA can beContinueContinue reading “Introduction to WCF Data service and ODATA”