Step Toward Windows Communication Foundation (WCF)
In this series we will learn Windows communication Foundation. The new technology to develop distributed application.
The old way to Develop Distributed Application i.e. .Net Remoting, Web Services. Some advanced over .Net remoting and Web Services i.e. WCF. Take step-by-step look on WCF.
All you know what is Distributed Programming i.e. Communication between multiple server application or services in the network which provide some common features.
1) Must be capable to run behind the firewall.
2) Can share some common protocol(SOAP,WSDL) on different platform.
History Of Programming:
Object Oriented Programming 1980:
Component Oriented Programming 1990:
1) Interface Based
2) Dynamic Loading
Service Oriented Programming 2000:
1) Message Based.
2) Schema and Contract.
Now we know something about History in programming. Now further we will move toward the Services. Here we will discuss about services how we came to this Service oriented programming as we have seen that above. Let’s move to services.
What Is Service?
Service is the self contained business function which exposing functionality contained within it. As well as which is not just XML or HTTP.
In service oriented application we move to Client-Server model to Sender-Receiver model it’s the service as well no issues of versioning. In old days we was exposing our service with Web-Services. Following diagram will show that previously how we was exposing our service.
Windows Communication Foundation:
As above we have seen that in which way we was exposing our service to Http Client only not on other protocols. In WCF we are exposing our service like bellow.
In WCF our .Net function is available to various user now but with web services it’s was available only to HTTP client but In WCF it can accessed by TCP,ICP,MSMQ etc… clients also.
In this article we have seen only introduction to Windows Communication Foundation(WCF). In forthcoming article we will see how to do Distributed Programming from Basic to advanced with WCF.