Enabling distributed transactions in WCF services is quite complicated task since several considerations and configurations have to been done. But let’s start from the beginning and ask ourselves why on earth would someone wanted to support transactions in a WCF… Read More ›
WCF
Managing State and Service Instances in a WCF service : Part 3 – Maintaining State with the PerCall Instance Context Mode
This post will show you how to maintain State with the PerCall Instance Context Mode. This is the third part of the series, discussing how to manage State and Service instances in WCF services. In the first two posts, we… Read More ›
Managing State and Service Instances in a WCF service – The case of a ShoppingCart : Part 2
This post will continue our discussion about managing state and service instances in a WCF service. In a previous post we created a WCF service holding a shoppingCart list private instance variable, where clients consuming that service could store their… Read More ›
Managing State and Service Instances in a WCF service – The case of a ShoppingCart : Part 1
We have seen in previous posts how to host and consume WCF services where the client used to invoke some operations of the service. These operations though, were totally independent and no state was needed to be kept. The client… Read More ›
Authenticate WCF clients using the ASP.NET Membership Provider
When using a WCF services over the internet, you should always consider security issues such as Authentication or Authorization. Authentication generally speaking, answers the question “Who are you” and Authorization answers the question “What are your privileges”. Take an example:… Read More ›
Secure a TCP – WCF service at the Message level
When building and using WCF services to exchange messages over the wire, you must always take into account security. In one line, security is concerned with protecting users running client applications, services and the messages passing between them. These messages… Read More ›
Throwing and catching Strongly Types SOAP Faults in WCF
It’s common scenario, a call to WCF service to fail. The service call can fail for thousands of reasons such as network problems, database crushes or even runtime logic errors. In these cases, the client called the service would appreciate… Read More ›
Host and consume a WCF service over TCP
In a previous post we have seen how to build and deploy a WCF service in IIS and later consume that service, via a console client application. This service though, was build under the default configurations, that is to use… Read More ›
Create and consume WCF service after hosting it in IIS
This article will guide you through, to create a WCF service, host it in your local IIS and consume the service using a client console application. The data are going to be retrieved from an SQL Server 2012 using the… Read More ›