Sunday, December 27, 2015

WCF Day 1



WCF: The unified programming model for rapidly building service –oriented applications.

o   Unifies today’s distributed technology stacks.
o   Appropriate for use on – machine, cross machine and cross Internet.




o   Codified best practices for building distributed applications.


 

o   Codified Interoperates with applications running on other platforms.
o   Integrates with our own distributed stacks.   


 Communication between multiple server applications or services in the network
  •    Must be capable to run behind firewalls
  •          Some share common protocols (SOAP, WSDL), but not a common platform
  •   Some share common protocols and common platform (e.g., .NET)
    Road Map:
                   1980’s:
                                  Object – Oriented
    ·        Polymorphism
    ·        Encapsulation
    ·        Sub classing
    1990’s:
                   Component Based
    ·        Interfaced – Based
    ·        Dynamic Loading
    ·        Runtime Metadata
    2000’s:
                   Service – Oriented
    ·        Message – Based
    ·        Schema + Contract
    ·        Binding via Policy
    What is Service?
            Self-Contained Business function.
            Functionality exposed via a structured messaging schema.
            Not Just XML or HTTP.

    •  TCP, HTTP, Message Queues … etc. 
    • XML, SOAP, JSON, Images...etc.

    Service Orientation:
    ·        Focus :Messages sent and received
    o   Moves from a Client / Server model to a Sender/Receiver Modal.
    ·        Rich communication Patterns and functionality.
    ·        Big Win is versioning independence.

    Service Oriented Architecture:
    ·        A Set of components which can be invoked, and whose interface descriptions can be published and discovered.
     
     
Remoting & Web Services:

  • NET Remoting Architecture :

 
  • XML Web Services Message Flow :
     Windows Communication Foundation :
    * The Old Way of easily exposing components (ASMX):
     

    ·       The  new of easily exposing components (WCF):

     
  • SOA :
    Architecture of SOA.
     
    WCF in Simple Terms:


1 comment:

Thanks for commenting..,,

Copyright © 2016 CodeSharing| Design by CodingSharing.