Multiple Service Contracts in WCF Service

Objective In this article, I will show you, how we can have multiple contracts in WCF service. Block Diagram Above block diagram says 1. There are three contracts. 2. All contracts are being implemented in same service class. 3. Each contract is exposed on different end points. To start with follow the below steps, Step … Continue reading Multiple Service Contracts in WCF Service

Advertisements

Hosting WCF service in Console Application

This video will explain , how to host a WCF Service in a Console Application For your reference soure code 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 MultipleEndpoints {       [ServiceContract]     public interface IService1     {           … Continue reading Hosting WCF service in Console Application

Learning Video on Fault Contract in WCF

This video is giving basic explanation on How to work with Fault Contract. For reference Soure code 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 demoFaultService {       [ServiceContract]     public interface IService1     {         [OperationContract ]         … Continue reading Learning Video on Fault Contract in WCF