NTLM and Windows Authentication on WCF service

Objective This document will explain various combinations of IIS and WCF Ntlm/Windows authentication settings. What is difference between NTLM and WINDOWS authentication in WCF? Windows authentication = authentication in NTLM + authentication in Active Directory NTLM authentication = authentication in only NTLM IIS configuration For all scenario IIS is configured for Windows authentication. What IContinueContinue reading “NTLM and Windows Authentication on WCF service”

WINDOWS authentication on REST enabled WCF service

Enabling windows authentication on a REST enabled service is relatively easier task than it’s appear. To test that windows authentication is enabled successfully or not use other browser than Internet explorer because IE will automatically do an NTLM negotiation with domain credentials. So when REST service is running in IE, it is not prompting forContinueContinue reading “WINDOWS authentication on REST enabled WCF service”

Dynamic Service and End Point Discovery feature of WCF 4.0

This article is 1st part of multi series article on WCF 4.0. This article will list all the new feature of WCF and also will explain in detail Dynamic Service and End Point Discovery feature of WCF 4.0. What are the new in WCF 4.0? I am listing here, new features in WCF 4.0 DynamicContinueContinue reading “Dynamic Service and End Point Discovery feature of WCF 4.0”

REST service on JSON Message format

Objective How to create REST service for JSON request and response format. How to create SilverLight Client, which will consume a REST service on JSON data format. How to POST data in JSON format from SilverLight client.   Working explanation Here, I am trying to insert data in static list and fetch it back atContinueContinue reading “REST service on JSON Message format”

CRUD operation on a REST WCF service

This article will explain step by step, how to perform CRUD operation on a database using ADO.Net Data Service and then how to expose CRUD operations as REST enabled WCF service to the client. This will also give explanation, how to consume REST service at client side. This article will perform the entire HTTP verbContinueContinue reading “CRUD operation on a REST WCF service”

Creating REST Service step by Step (A Simplest approach)

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)”

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”