In this small tip, we will discuss about the various concurrency modes available in a WCF service. We will see what are the impact of using these concurrency modes and how they work in unison with the InstanceContextModes
. We will also look into WCF throttling and how we can control the number of concurrent calls and other WCF configuration parameters. Continue reading
WCF
A Beginner’s Tutorial for Creating WCF Data Services
In this article we will see how we can use WCF data services to create ODATA
complaint RESTful services. We will see how we can use visual studio provided template to create the WCF data services, how we can use them using ODATA
protocol and how to consume them from a .Net client application. Continue reading
A Beginner’s Tutorial on Creating WCF REST Services
In this article we will try to understand what are WCF REST services. We will see what is required from a service developers perspective to create a REST enabled WCF service. We see how we can use and consume restful WCF services.
Disclaimer: This is a rather old article(5 years almost). And I want to make a disclaimer here – This is not a REST service. This article talks about REST but ultimately end up creating the HTTP based service using WCF. This WCF service created is not following the REST architectural guidelines. Apologies for that(I guess we all get wiser with time). I will update the article but till then i feel like this disclaimer should be present. Continue reading
Tutorial on Understanding Transactions and Creating Transaction Enabled WCF Services
In this article we will discuss about creating transaction enabled WCF service. We will see what needs to be done on the WCF service end so that it support transactions. We will also see how a client application can work with these transaction enabled services using a sample application. Continue reading
Tutorial on Message Exchange Patterns and Asynchronous Operations in WCF
In this article we will discuss the various message exchange patterns that the WCF service supports. We will also discuss how we can invoke the WCF service functions asynchronously. We will try to see each one of these message exchange techniques in details and try to see a sample application for each one of them. Continue reading
A Beginner’s Tutorial on Managing Sequence of Operations in WCF Service
In this article we will discuss about how we can enforce and manage sequencing operations in a WCF service. We will see how a WCF service can be configured to work in a way such that the call to methods in a WCF service always be in a specific order and calling the functions out of that order will result in exceptions. Continue reading
A Beginner’s Tutorial for Understanding WCF Instance Management
In this article we will discuss about the various ways of managing the wcf service class instances. We will try to see all the possible ways of instance management and try to see each one using a sample application. We will also talk briefly about the pros and cons of each method and when could each technique be useful. Continue reading
A Beginner’s Tutorial on How to Host a WCF Service (IIS Hosting and Self Hosting)
In this article we will see how we can host a WCF service. We will look at various ways a WCF service can be hosted and what are the benefits and drawbacks of each hosting method. We will also create a sample client application that will consume the WCF service hosted in different ways. Continue reading
A Beginner’s Tutorial for Understanding Exception Handling, FaultExceptions and FaultContracts in WCF
In this article we will discuss how to perform exception handling in WCF
services so that the clients can get the information about the exceptions and take some actions for rectification. We will see how we can pass the exception information to the WCF
clients. Continue reading
A Beginner’s Tutorial for Understanding Windows Communication Foundation (WCF)
This article is an introduction to the Windows Communication Foundation (WCF). We will try to see the basic concepts behind WCF and will try to implement a small WCF service. We will also work out some small examples of how a WCF service can be consumed. Continue reading