2. Agenda – Session 1
Distributed Programming
What are Services
Service Oriented Architecture
Service Oriented Applications/Programming
Remoting and Web Services in .NET
WCF & its Essentials
3. Distributed Applications
• 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)
5. What is a Service ?
• Self Contained business function
• Functionality exposed via a structured
messaging scheme
• Not just XML, not just HTTP
– XML, SOAP, JSON, Images .. etc
– TCP, HTTP, Message Queues … etc
6. Service Orientation
• Focus: messages sent and received
–Moves from a Client/Server model
to a Sender/Receiver model
• Rich communication patterns and
functionality
• Big Win is versioning independence
7. Service Oriented Architecture
• A set of components which can be invoked,
and whose interface descriptions can be
published and discovered
23. WCF in Simple terms
• One-stop-shop for services
• Consistent object model
• Great features
• 1st released with .NET Framework 3.0
– Vista, WinServer 2003, Win XP SP2
Focus on the functionality, WCF takes care
of the complete infrastructure
24. WCF – little more detailed
The unified programming model for rapidly
building service-oriented applications
Unifies today’s distributed technology stacks
Appropriate for use on-machine, cross
machine, and cross Internet
Unification
Interoperates with applications running on
other platforms
Integrates with our own distributed stacks
25. Rich
Integration
• Codifies best practices for building
distributed applications Service
Orientation
27. Terms of WCF
• Service – collection of endpoints
• Message
• Endpoint – point of access to the service
• ABC
– Address (WHERE)
– Binding (HOW)
– Contract (WHAT)
• Metadata
• Bahavior
• ServiceHost
• Proxy