You Will Learn How To
- Leverage Windows Communication Foundation to build Web services with .NET 3.5
- Configure high performance and interoperable services
- Exchange XML, binary and RSS data
- Secure internal and external access to services
- Harness two-way communication with WCF callbacks
- Ensure reliability with transactions, message queues and durable services
Course Benefits
Windows Communication Foundation (WCF) is Microsoft's unified distributed programming model for building Web services with .NET 3.5. With WCF, programmers can quickly and easily build applications that conform to Service-Oriented Architecture (SOA) principles. In this course, you learn how to develop applications that harness WCF features for platform-neutral communication and reliable services.
Who Should Attend
Programmers, system architects and those exploring development of services using WCF. Programming experience at the level of Course 503, "
Visual Basic Programming for .NET," or Course 419, "C# Programming," is assumed.
Hands-On Training
You gain hands-on experience building services using WCF. Exercises, completed in either VB or C#, include:
- Building interoperable and high-performance WCF services
- Connecting Web and Windows clients to WCF services
- Processing data reliably using transactions and queues
- Establishing bidirectional communication between clients and services
- Making secure connections to internal and external services
- Exposing Web-friendly data as RSS and JSON
- Applying post-deployment changes in security, message format and service address using administrative tools
Course 513 Content
Introduction
- Harnessing a unified distributed programming platform
- Designing for service orientation
Developing and Consuming a Service
Programming a service
- Defining the service contract
- Implementing WCF Web services
- Applying contract and behavior attributes
- Controlling communication, transport and security using bindings
- Trade-offs between interoperability and performance
Hosting and configuring a service
- Selecting a host: IIS, Windows Process Activation Service (WAS) or a Windows service host
- Exposing Metadata to the client
Coding WCF clients
- Generating the client proxy and consuming the service
- Specifying client options via configuration
- Creating clients with the ChannelFactory
Passing Data Between Applications
Ensuring Web Services Interoperability (WS-I)
- Evaluating the need for interoperability
- Exchanging primitive and .NET data types
- Serializing business object classes with data contracts
Handling specialized messages
- Exploring SOAP formats
- Transporting binary data with the MTOM format
- Specifying a SOAP fault contract for exception handling
- Developing browser-friendly XML and RSS data formats
Securing WCF messages
- Leveraging transport and message security
- Transmitting data with SSL transport security
- Employing digital signatures for message security
Tracing the messages
- Adding a behavior to implement tracing
- Administering message logging
Guaranteeing Message Delivery
Building transactional services
- Flowing transactions from clients to services
- Automating commit and rollback
- Selecting a transaction protocol: OLE vs. WSAT transactions
Improving reliability and scalability with queues
- Configuring Microsoft Message Queue (MSMQ)
- Building asynchronous services
- Handling intermittent service using queues
Establishing long-running services
- Persisting state with durable services
- Orchestrating complex business logic with Windows Workflow Foundation integration
Building a Secure Service
Enforcing Windows-based security
- Crafting a role-based security model
- Authorizing service requests declaratively
Enforcing security for external users
- Applying the WS-Security standards
- Connecting securely to external WCF services
Achieving Two-way Communication
WCF Message Patterns
- Comparing request-response and one-way messages
- Enabling WCF sessions
Supporting callback from clients
- Constructing a callback client and service
- Notifying connected clients
Configuring WCF Applications with Administrative Tools
Extending the service with behaviors
- Logging
- Error handling
- Security
- Performance counters
- Activation
Leveraging configuration tools
- Simplifying administration of security, network communication, transactions and queues
- Improving deployment and maintenance procedures
|
<< Back to Visual Studio and .NET Course List
Related Courses
Windows is a registered trademark of Microsoft Corporation.