What is WCF? - Windows Communication Foundation and it is part of .NET Framework. WCF is a unified communication framework that combines all Microsofts existing technologies like Remoting, Web Service, MSMQ and so on. We no need learn different type of programming for each above said methodlogies.
Basics
All are talking about ABC of WCF, What it is?
A - Address, Where the service is hosted (URL)
B - Binding, How the service is exposed (Http, Tcp, ...)
C - Contract, What is the Skeleton/Interface/structure of the service
Bindings
We have different binding for each transport type/ methodology. For Http we have some bindings & for tcp we have some bindings. We will see in detail in the next part.
Contracts
Service Contract - Service Class
Operation Contract - Service Methods that are exposed
Data Contract - Classes that holds data and traverse between service and client
Hosting
We can host WCF in the following ways
IIS
WAS - Windows Application Server - Introduced in IIS7
Self hosting - Our own application to host WCF Service
Windows Service
Cool, so now we know the basics of WCF :)
No comments:
Post a Comment