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…
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…
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; } } }…
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 ?…
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;…
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…
Source code using System; using System.Collections.Generic; using System.Linq; using System.Text; using secondClient.ServiceReference1; using System.Data.Services.Client; namespace secondClient { class Program { static void Main(string[] args) { DataServiceContext context = new DataServiceContext (new Uri(“http://localhost:3803/WcfDataService1.svc/”)); StudentDBEntities studentDbEnt = new StudentDBEntities (new Uri(“http://localhost:3803/WcfDataService1.svc/”)); #region…
Objective This is very basic article, which will give demonstration on how to write first F# program Step 1 Open visual studio 2010 create new F# application by selecting F# Application project template in Windows tab under Visual F# language…
Full article about this video can be read here #mce_temp_url#