WCF Tutorial, Part 2: Create a Simple Service and Client

01. December 2013 WCF 0
The following steps will be creating a simple service which is used to reserve a room. Task 1: Define Service and Data Contract Create the DataContract Open Visual Studio Create an Empty Solution called RoomReservation Add a Class Library project to the solution and name it RoomReservationContracts Create a class called RoomReservation This class will ...

WCF Tutorial, Part 1: Introduction

01. December 2013 WCF 0
Overview Prior to WCF, different communication technologies such as ASP.NET Web Services, .NET Remoting, and ASP.NET’s Web Service Enhancements (reliability, platform independent security, and atomic transactions) have been used. DCOM which is used by .NET Enterprise Services with its automatic transaction support is even faster than .NET Remoting. Windows Communication Foundation (WCF) introduced by .NET ...

WCF FaultHandling

01. December 2013 WCF 0
The WCF service cannot return a .NET exception to the client. The WCF service and the client communicate by passing SOAP messages. If an exception occurs, the WCF runtime serializes the exception into XML and passes that to the client. By default, the service does not send any information explaining what happened. WCF does not ...