Objective This article will give a step by step visual explanation of how to create a REST enabled WCF service. Back Ground I have written before also REST enabled service. I was success to create REST service but now I realized that was the bit complex way. To have an understanding of REST service readContinueContinue reading “Creating REST Service step by Step (A Simplest approach)”
Author Archives: Dhananjay Kumar
One Way Operation in WCF
Objective This article will discuss about One Way Operations in WCF. I am also going to explain One Way Operation with Session full service pros and cons. Why we need One Way Service? There might be requirements where Service’s Operation is not going to return any value. And at the same time client also notContinueContinue reading “One Way Operation in WCF”
Hosting Options in WCF
Objective This article is targeted to very new WCF developer. This will explain different Hosting options. Hosting of WCF Service WCF service cannot exist in Void. Every WCF service must be hosted in a Windows process called the Host process. Service Explanation We are going to use WCF service listed below for all typeContinueContinue reading “Hosting Options in WCF”
Channel Fault Handling at WCF Client
Service Exception Handling and Channel Fault handling at client side in WCF Objective In this article, I will show different approach to deal with service side exception and channel fault at client side. I will do a comparison study between various approaches and I will provide best approach also. Service Consider the below very simpleContinueContinue reading “Channel Fault Handling at WCF Client”
Instance Management in WCF
Instance Management is a technique to decide, which SERVICE INSTANCE handles which CLIENT REQUEST and when? This is a service side implementation detail. This is useful to decide scalability, performance, durability, transactions and queued calls. There are three instance management techniques in WCF. BEHAVIOR Instance management is a service side activation implementation detailContinueContinue reading “Instance Management in WCF”
Per-Session Instance Management in WCF
Objective This article is part # 2 of Instance Management in WCF. This article will explain Session Full Instance management service. This will explain different Session Mode at Contract level. This will explain Per-session service also. This article will be explaining Session Full Service with a code also. Part # 1 of this series couldContinueContinue reading “Per-Session Instance Management in WCF”
Session Id in WCF
Objective This article is part # 4 of Instance Management in WCF. This article will explain how to work with Session ID in WCF. This article will give theoretical introduction and explanation of coding sample also. It will explain 2 full coding sample that how to work with Session ID in WCF. Part # 1ContinueContinue reading “Session Id in WCF”
Single Instance Management in WCF
Objective This article is part # 3 of Instance Management in WCF. This article will explain about Singleton Service Instance mode. This article will give theoretical introduction and explanation of coding sample also. It will also discuss about various disadvantages of Singleton Service Instance mode and its potential place of uses. Part # 1 ofContinueContinue reading “Single Instance Management in WCF”
Streaming in WCF
Objective In this article, I am going to explain various aspects of streaming of messages in WCF. For example; I/O Streams Streaming and Binding Streaming and Transport channel Stream management Why we need Streaming? In WCF any receiving message is delivered only once entire message has been received. What I mean here is that firstContinueContinue reading “Streaming in WCF”
Data Transfer in WCF
Objective I have seen on web many people talking about, how to deal with DTO classes and business class in WCF. And those entire topics persuaded me to write this article. This article will mainly show What is Business class and how to create them? What is DTO class? How to convert a business classContinueContinue reading “Data Transfer in WCF”