SIGN UP MEMBER LOGIN:    
ARTICLE

Step Toward Windows Communication Foundation (WCF)

Posted by Krishna Garad Articles | WCF with C# March 05, 2011
In this series we will learn about the Windows Communication Foundation (WCF); the new technology to develop distributed applications.
Reader Level:


Introduction:

In this series we will learn about the Windows Communication Foundation (WCF); the new technology to develop distributed applications.

Background:

The older way to Develop Distributed Applications is .Net Remoting and Web Services. WCF is more advanced than .Net remoting and Web Services. Take a step-by-step look at WCF.

Distributed Programming:

All you know that Distributed Programming is communication between multiple server applications or services in the network which provide some common features.
It must be capable of running behind the firewall.

Can share a common protocol (SOAP,WSDL) on different platforms.

History Of Programming:

Object Oriented Programming 1980:

  • Polymorphism
  • Encapsulation
  • Sub-Classing

Component Oriented Programming 1990:
  • Interface Based
  • Dynamic Loading

Service Oriented Programming 2000:
  • Message Based.
  • 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 a Service?

A Service is the self contained business function that exposes 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.

WCF1.gif

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 below.

WCF2.gif

In WCF our .Net function is available to various user now but with web services it's available only to HTTP client but In WCF it can accessed by TCP, ICP, MSMQ etc… clients also.

Conclusion:

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.
 

Login to add your contents and source code to this article
share this article :
post comment
 

Thank's sam for such information. But whatever I'd written it's reviewed from internet only. Firstly I have started my programming in C and then VB 6.0. And in this environment i'de seen that oop and right now I'm working with .Net i.e. component oriented.

Posted by Krishna Garad Mar 06, 2011

Is there much discussion of Component Oriented Programming evolving from Object Oriented Programming? Object Oriented Programming began in the 1960s in Simula 67. The Smalltalk language from the 1970s is definitely considered to be an early version of Object Oriented Programming. So Object Oriented Programming began earlier than the 1980s. It is my understanding that Windows COM objects (initially OLE) was based on RPC technology in Unix systems. The Microsoft IDL is very much like (the same as?) what is used for RPCs, correct? And RPCs go back at least as far as 1976, when it was described in RFC 707. So it is more accurate to say that Object Oriented Programming and Component Oriented Programming developed in parallel.

Posted by Sam Hobbs Mar 06, 2011
Nevron Gauge for SharePoint
Become a Sponsor
PREMIUM SPONSORS
  • Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
    ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
Become a Sponsor