What is WCF?
Windows Communication Foundation (formerly code-named "Indigo") is a set of .NET technologies for building and running connected systems. It is a new breed of communications infrastructure built around the Web services architecture.
in technical terms
Windows Communication Foundation is Microsoft's unified programming model for building service-oriented applications with managed code. It extends the .NET Framework to enable developers to build secure and reliable transacted Web services that integrate across platforms and interoperate with existing investments. Windows Communication Foundation combines and extends the capabilities of existing Microsoft distributed systems technologies, including Enterprise Services, System.Messaging, Microsoft .NET Remoting, ASMX, and WSE to deliver a unified development experience across multiple axes, including distance (cross-process, cross-machine, cross-subnet, cross-intranet, cross-Internet), topologies (farms, fire-walled, content-routed, dynamic), hosts (ASP.NET, EXE, Windows Presentation Foundation, Windows Forms, NT Service, COM+), protocols (TCP, HTTP, cross-process, custom), and security models (SAML, Kerberos, X509, username/password, custom).
[b]What is three major points in WCF?[/b]
1) Address --- Specifies the location of the service which will be like http://Myserver/MyService.Clients
will use this location to communicate with our service.
2)Contract --- Specifies the interface between client and the server. It's a simple interface with some attribute.
3)Binding --- Specifies how the two paries will communicate in term of transport and encoding and protocols.
[b]How can we host a service on two different protocols on a single server?[/b]