Showing posts with label WCF. Show all posts
Showing posts with label WCF. Show all posts

Saturday, 27 July 2013

Types of Bindings in WCF

Basic binding

Offered by the BasicHttpBinding class, basic binding is designed to expose a WCF service as a legacy ASMX web service so that old clients can work with new services. The basic binding makes your service look, on the wire, like a legacy web service that communicates over the basic web service profile. When used by clients, this binding enables new WCF clients to work with old ASMX services.

TCP binding

Offered by the NetTcpBinding class, TCP binding uses TCP for cross-machine communication on the intranet. It supports a variety of features, including reliability, transactions, and security, and is optimized for WCF-to-WCF communication. As a result, it requires both the client and the service to use WCF.

Features of WCF



WCF includes the following set of features. For more information, see WCF Feature Details.

  • Security 

    Messages can be encrypted to protect privacy and you can require users to authenticate themselves before being allowed to receive messages. Security can be implemented using well-known standards such as SSL or WS-Secure Conversation. For more information, see
     Windows Communication Foundation Security.

WCF interview questions



          Windows Communication Foundation (WCF) is an SDK for developing and deploying services on Windows. WCF provides a runtime environment for services, enabling you to expose CLR types as services, and to consume other services as CLR types. 

            WCF is part of .NET 3.0 and requires .NET 2.0, so it can only run on systems that support it.

             It is a Software development kit for developing services on Windows. WCF is introduced in .NET 3.0. In the System.ServiceModel namespace. WCF is based on basic concepts of Service oriented architecture (SOA)

1)      What are contracts in WCF?

In WCF, all services expose contracts. The contract is a platform-neutral and standard way of describing what the service does.

WCF defines four types of contracts.

Monday, 15 July 2013

What is WCF (Windows Communication Foundation)? How many types of bindings are there in WCF? And WCF Features?


In this article I will explain what is WCF (Windows Communication Foundation)? How many types of bindings are there in WCF? And WCF Features?

WCF is a framework for building service-oriented application. You can send data as asynchronous messages from one service endpoint to another. This is great network distributed system developed by Microsoft for communication between applications.

WCF Architecture:


Tuesday, 2 July 2013

Difference between Webservice and WCF in Asp.net ?

Difference between Webservice and WCF in Asp.net ?


Below are the main differences