Monday 15 June 2015

Getting Start with WCF (Windows Communication Foundation)

WCF (Windows Communication Foundation)

 Before Starting WCF, We have to know previous ways of communicating two or more than two application
1. Object-Oriented Programming is a methodology or paradigm to design a program using classes   and objects. It simplifies the software development and maintenance by providing some concepts:
1.    Object
2.    Class
3.    Inheritance
4.    Polymorphism
5.    Abstraction
6.    Encapsulation
Inheritance:  code reusability
Polymorphism: reduced complexity

2. Component Object Model (COM) It is a binary-interface standard for software  introduced components by Microsoft in 1993. It is used to enable inter-process communication and dynamic object creation in a large range of programming languages

For Example: .Net framework media player

3. Distributed Component Object Model (DCOM) is a proprietary Microsoft technology for communication among software components distributed across networked computers. DCOM, which originally was called "Network OLE", extends Microsoft's COM, and provides the communication substrate under Microsoft's COM+ application server infrastructure.

 Protocol:   Named pipes protocol, Peer-to-Peer Protocol (P2PP)
 Note: It is working on LAN (Local Area Network)

 4 .NET Remoting provides an inter-process communication between Application Domains by using    Remoting Framework. The applications can be located on the same computer, different computers on the same network, or on computers across separate networks. The .NET Remoting supports distributed object communications over the TCP and HTTP channels by using Binary or SOAP formatters of the data stream.

            Note:
·         It is working on LAN (Local Area Network)
·         Version is not important
·         It is only work on Homogeneous Application
                                                                                                
          Protocol:   TCP (Transfer Control Protocol)



5. MSMQ stands for Microsoft Message Queue. MSMQ is a message storage area where one more application contacts to send or receive the messages. The message is packed information and it can be plain text in XML or Binary or other supported format.
 Note:  Deadlock, Exception



6.  COM+  was Microsoft's offering in the battle for the middle tier that raged in the late nineties. A set of extensions built on top of COM with typical middleware duties like componentizing modules across machines and getting them to work together in a transaction-safe way. CORBA was another one, now also largely forgotten.
 Note
·         It has .NET Dependency.
·          It is only for Windows XP. 
·         it support  tightly coupled concept


7.  Web service is a method of communication between two electronic devices over a network. It is a software function provided at a network address over the Web with the service always on as in the concept of utility computing. The W3C defines a Web service generally as:-  A software system designed to support interoperable machine-to-machine interaction over a network
Note:

·         It support tightly coupled concept.
·         It has no dependency (Heterogeneous).
·         It is only provide HTTP protocol.




             Abstract is a tightly coupled concept And Interface is a loosely coupled concept.

0 comments:

Post a Comment