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”
Category Archives: WCF
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”
Video tutorial on returning image from WCF REST Service
Full article about this video can be read here #mce_temp_url#
WCF Instance Management PPT
WCF Instance Management PPT
ABC of WCF End Point
ABC of WCF End Point
Learning Video on Creating basic WCF REST Service
Full source code for your reference is as below, IService1.cs using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Web; using System.Text; namespace WcfService3 { [ServiceContract] public interface IService1 { [OperationContract] [WebGet] string GetDataUsingMethod(string value); [OperationContract] [WebGet(UriTemplate=”/GetData/{value}”)] string GetDataUsingURI(string value); } } Service1.svc.cs using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel;ContinueContinue reading “Learning Video on Creating basic WCF REST Service”
Enabling Help page for REST Service in WCF 4.0
Objective In this article, I will show you 1. How to create a REST based service? 2. How to host a REST based service in Console application? 3. How to enable Help page for REST Service? Follow the steps as below, Step1 Create a New project. Select Console application as project type. Step 2 AddContinueContinue reading “Enabling Help page for REST Service in WCF 4.0”
Uri Template in WCF REST Service Part#1
Objective This article will give explanation about UriTemplate class in WCF REST Service. We will see how UriTemplate class helps us to construct the URI for the methods. UriTemplate class This class is used to construct URI for the methods in WCF REST Service. It is inside the namespace System.ServiceModel.Web. UriTemplate class How it works?ContinueContinue reading “Uri Template in WCF REST Service Part#1”
Presentation on Introduction of WCF
WCF Introduction
Self Hosted WCF REST Service or Hosting WCF REST Service in Console Application
Objective In this article, I will show you 1. How to create a REST based service? 2. How to host a REST based service in Console application? 3. How to consume a REST Service at client? Follow the steps as below, Step1 Create a New project. Select Console application as project type. Step 2 AddContinueContinue reading “Self Hosted WCF REST Service or Hosting WCF REST Service in Console Application”