Introduction
WCF providing a way to define service contracts and to configure endpoint definitions using the declarative XAML in .NET Framework 4.0.
Consider the WCF service contract definition:
WCF and REST
Introduction WCF is the Microsoft framework for building applications that communicate over network using different protocols. WCF allows the developers to build distributed applications using SOAP. WCF also had the ability to expose and consume REST services.This post explains how to build REST service using WCF. Note: To build REST Service new infrastructure was added to WCF in .NET Framework 3...
WCF vs ASP.NET Web services
Introduction In this post I will explain the Difference between ASP.NET web service and programming WCF services like ASP.NET web services. It also discusses how we use the both technologies for developing the web services. The development of web service with ASP.NET relies on defining data and relies on the XmlSerializer to transform data to or from a service. Key issues with XmlSerializer to...
Host the WCF Service in IIS
Introduction This post explains hosting the WcfEmployee Service on IIS that we previously hosted with in .NET Executable. Hosting the WCF service in IIS provides a robust, efficient and secure features to WCF service. 1. Create a virtual directory that pointing to the Employee Service project in IIS 2. Configuring the service in IIS is identical to the configuration used for hosting the service...
Hosting the WCF Service in .NET Executable
Introduction This post explains how to host a WCF service that we defined in the previous article WCF sample in VS 2008. Specifically we host the WCF service in .NET console application. 1. Add the Console application project called, Host, to the solution 2. Add System.ServiceModel .NET, System.Configuration Assemblies to the Host Project. 3. Add the WCF Service project...