Visual Studio 2010

Developing Windows Communication Foundation Solutions Using Microsoft Visual Studio 2010
(Microsoft Training Course: 10263) - 3 days - £1425 exc VAT

Save up to 50% of the cost of some courses: check our Certification Packages or buy F1 Training Vouchers

> Target Audience
This course provides participants with the knowledge and skills to develop distributed applications using WCF 4 and Microsoft Visual Studio 2010. It is intended for professional .NET programmers who use Microsoft Visual Studio in a team-based, medium-sized to large development environment.
> Course outline
  1. Service-Oriented Architecture
  2. Getting Started with WCF Development
  3. Hosting WCF Services
  4. Defining and Implementing WCF Contracts
  5. Endpoints and Behaviours
  6. Testing and Troubleshooting WCF Services
  7. Security
  8. Advanced Topics

Module 1: Service-Oriented Architecture
  • This module explains how to design service-oriented applications, how to adhere to SOA tenets, and how to leverage the benefits of SOA scenarios using WCF.
  • What is SOA?
  • The Benefits of SOA
  • Scenarios and Standards
  • Introduction to WCF
  • Lab: Service-Oriented Architecture
  • Describe SOA tenets, scenarios, and benefits for distributed application development.
  • Design SOA-enabled applications.
  • Map SOA tenets to equivalent WCF concepts.
Module 2: Getting Started with WCF Development
  • This module describes how to implement a WCF service from the ground up, including defining a contract, implementing the contract, hosting the service, configuring endpoints and configuring bindings.
  • Service Contract and Implementation
  • Hosting WCF Services
  • WCF Behaviours
  • Consuming WCF Services
  • Lab: Service Development Lifecycle
  • Design and define service contracts and data contracts for a service.
  • Write a service implementation class that implements the service contract.
  • Host WCF services using a variety of endpoints and bindings.
  • Consume WCF services using client proxies.
Module 3: Hosting WCF Services
  • This module explains how to host WCF services using Windows Services, IIS and WAS, and AppFabric. It describes how to choose the appropriate host and how to properly configure it for the service’s optimal operation.
  • WCF Service Hosts
  • ServiceHost
  • Hosing WCF Services in Windows Services
  • IIS, WAS, and AppFabric
  • Configuring WCF Hosts
  • Service Hosting Best Practices
  • Lab: Hosting WCF Services
  • Appreciate and compare different WCF service hosts.
  • Configure service hosts for optimal service operation.
  • Host WCF services in Windows Services.
  • Host WCF services in IIS, WAS, and AppFabric.
Module 4: Defining and Implementing WCF Contracts
  • This module describes how to define WCF service contracts, data contracts and message contracts. It explains how to design WCF contracts appropriately and how to modify WCF contracts according to the selected messaging pattern.
  • What is a Contract?
  • Contract Types
  • Messaging Patterns
  • Designing WCF Contracts
  • Lab: Contract Design and Implementation
  • Design and implement WCF service contracts, data contracts, and message contracts.
  • Choose the appropriate message exchange pattern.
Module 5: Endpoints and Behaviours
  • This module describes how to expose multiple endpoints from a WCF service, how to automatically discover services and make services discoverable, how to configure instancing and concurrency modes for services, and how to improve service reliability with transactions and message queues.
  • Multiple Endpoints and Interoperability
  • WCF Discovery
  • WCF Default Endpoints
  • Instancing and Concurrency
  • Reliability
  • Lab: Endpoints and Behaviours
  • Improve service reliability by using transactions, queues, and reliable messaging.
  • Choose between the various concurrency and instancing modes and configure them.
  • Expose discoverable services and discover services using WS-Discovery.
Module 6: Testing and Troubleshooting WCF Services
  • This module describes how to diagnose errors and problem root causes in WCF services and how to configure services to expose fault information. It also explains how to use tracing, message logging and other diagnostic and governance tools for monitoring services at runtime.
  • Errors and Symptoms
  • WCF Faults
  • Debugging and Diagnostics Tools
  • Runtime Governance
  • Lab: Testing and Troubleshooting WCF Services
  • Diagnose service errors and symptoms.
  • Expose fault information from WCF services and consume faults from client applications.
  • Use debugging and diagnostics tools for service monitoring and troubleshooting.
  • Appreciate the importance of runtime governance.
Module 7: Security
  • This module explains how to design secure applications, how to implement WCF security on the message level and the transport level, how to integrate authentication and authorisation into service code, and how to apply claim-based identity management in federated scenarios.
  • Introduction to Application Security
  • The WCF Security Model
  • Transport and Message Security
  • Authentication and Authorisation
  • Claim-Based Identity
  • Lab: Implementing WCF Security
  • Appreciate the application security tenets.
  • Apply message and transport security to WCF services.
  • Use built-in and custom authentication and authorization providers.
  • Integrate claim-based identity into distributed systems.
Module 8: Advanced Topics
  • This module explains how to improve service throughput and responsiveness using the asynchronous invocation pattern, and how to extend WCF services using inspectors, behaviours and host extensions. It also describes how to use the WCF routing service for improving service reliability and how to use Workflow Services to orchestrate long-running, durable service work.
  • The Asynchronous Invocation Pattern
  • Extending WCF
  • Routing
  • Workflow Services
  • Lab: Advanced Topics
  • Apply the asynchronous invocation pattern to improve service and client performance.
  • Extend WCF using behaviors, inspectors, and host extensions.
  • Use the WCF routing service to balance load and mask service failures.
  • Use Workflow Services to implement long-running durable services.
> Pre-Requisites
Before attending this course, students must have the following pre-requisites:
  • Understanding of the problem-solving techniques that apply to software development.
  • A general understanding of the purpose, function, and features of the .NET Framework.
  • Experience developing software using Visual Studio 2008 or 2010.
  • Experience in object-oriented design and development using the C# programming language.
  • Experience in n-tier application design and development.
> Purpose
After completing the course, students will be able to implement service-oriented architecture tenets in WCF services; host WCF services in a variety of Windows hosts; define and implement WCF service contracts, data contracts, and message contracts; use multiple endpoints with various messaging patterns; test, troubleshoot, monitor and diagnose WCF services; ensure service reliability using transactions and message queues; secure WCF services using message and transport security; extend WCF using behaviours, dispatchers, inspectors and formatters.