Windows communication foundation (part2) jaliya udagedara

1,141 views
1,130 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,141
On SlideShare
0
From Embeds
0
Number of Embeds
652
Actions
Shares
0
Downloads
20
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Speaker Notes:Object OrientedInheritancePolymorphismAbstractionComponent BasedComponents : Objects not classesCommunicate though InterfacesEncapsulationSubstitutable : Classes that implements the interfaces can be replaced. (Component B can immediately replace component A, if component B provides at least what component A provided and uses no more than what component A used)Serialization : Store objects or Pass objects from one place to other
  • Speaker Notes:Object OrientedInheritancePolymorphismAbstractionComponent BasedComponents : Objects not classesCommunicate though InterfacesEncapsulationSubstitutable : Classes that implements the interfaces can be replaced. (Component B can immediately replace component A, if component B provides at least what component A provided and uses no more than what component A used)Serialization : Store objects or Pass objects from one place to other
  • Speaker Notes:Object OrientedInheritancePolymorphismAbstractionComponent BasedComponents : Objects not classesCommunicate though InterfacesEncapsulationSubstitutable : Classes that implements the interfaces can be replaced. (Component B can immediately replace component A, if component B provides at least what component A provided and uses no more than what component A used)Serialization : Store objects or Pass objects from one place to other
  • Speaker Notes:Object OrientedInheritancePolymorphismAbstractionComponent BasedComponents : Objects not classesCommunicate though InterfacesEncapsulationSubstitutable : Classes that implements the interfaces can be replaced. (Component B can immediately replace component A, if component B provides at least what component A provided and uses no more than what component A used)Serialization : Store objects or Pass objects from one place to other
  • Speaker Notes:Object OrientedInheritancePolymorphismAbstractionComponent BasedComponents : Objects not classesCommunicate though InterfacesEncapsulationSubstitutable : Classes that implements the interfaces can be replaced. (Component B can immediately replace component A, if component B provides at least what component A provided and uses no more than what component A used)Serialization : Store objects or Pass objects from one place to other
  • Windows communication foundation (part2) jaliya udagedara

    1. 1. Windows Communication Foundation (WCF) - Part 2 Jaliya Udagedara MCPD http://www.jaliyaudagedara.blogspot.com/
    2. 2. What are we going to discuss today?• The Basic Composition of a WCF Application• The ABCs of WCF
    3. 3. The Basic Composition of a WCFApplication• WCF Service assembly• WCF service host• WCF client
    4. 4. The ABCs of WCF• Address• Binding• Contract Endpoint Address Binding Contract Where How What
    5. 5. The ABCs of WCF : Address• Where to find the service http://ravana:3333/myservice.svc/basic Scheme: http: Machine: ravana Port (optional): 3333 Path: /myservice.svc/basic
    6. 6. The ABCs of WCF : Binding• Defines the Transport protocol, Encoding and Security for communication.• Variety binding types are available out of the box under WCF programming model. • basicHttpBinding • wsHttpBinding • netTCPBinding
    7. 7. The ABCs of WCF : Contract• Describes what the service does. • Service Contracts • ServiceContract - Defines the Interface. • OperationContract - Defines the methods inside Interface. • Data Contracts • DataContract - Used to define the class • DataMember - Used to define the properties. • Fault Contracts • Message Contracts
    8. 8. DEMO
    9. 9. Thank You!

    ×