Introduction to WCF

What is WCF? Windows Communication Foundation (WCF) in short enables you to build plain .Net classes and expose them as a technological agnostic service to the outside world. This is a good idea for several reasons. It tends to reduce coupling. Also writing those services yourself adds little business value Read more…

Configure WCF

For the following sections we will utilize following service definition and contract: [ServiceContract(Name=”myservice”, Namespace=”config.myservice”)] public class IMyServiceContract { [OperationContract] void MyMethod(); } class MyService : IMyServiceContract { public void MyMethod() { //omitted } } Administrative Configuration To administratively configure your endpoints to use in WCF you simply add a system.serviceModel Read more…