How to create first Windows 7 mobile Application Video

Advertisements

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 RollNumber … Continue 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; … Continue reading Video on Hosting WCF Data Service in Console Application