New Horizons Computer Learning Center 410-597-9722
Windows Communication Foundation (WCF)
Course Length: 3 Days
Overview:
Windows Communication Foundation (WCF) is a new object model for building distributed applications using .NET 3.0. WCF was designed to expose the current multitude of Windows remoting APIs (web servcies, MSMQ, Com+, peer-to-peer) using a single unified object model. In this course, attendees will examine the overall WCF object model, binding choices, host options and the use of declarative markup to specify the underlying infrastructure.
Prerequisites:
Intermediate experience developing applications by using previous versions of Microsoft Visual Studio at level 200.
Course Objectives:
Upon successful completion of this course, students will be able to:
- Build a simple WCF service and client
- Create and configure a service as a managed application and select an appropriate hosting option
- Expose a WCF service over different endpoints and add runtime functionality using behaviors
- Improve debugging capabilities by examining messages and service activity
- Define service, operation, and data contracts to meet application requirements
- Add error handling to a WCF application
- Address service quality issues such as performance, availability, concurrency, and instance management
- Implement security in a WCF application
- Protect data integrity through correct use of transactions
Course Content
Lesson 1: Getting Started with Windows Communication Foundation
- Designing an Application to be Part of a Service Oriented Architecture (SOA)
- Overview of WCF Architecture
- Using a Language-Level Interface As a Service Contract
- Implementing a Simple WCF Service in Visual Studio 2008
- Consuming a simple WCF service in Visual Studio 2008
- Lab: Creating a Simple Service
Lesson 2: Configuring and Hosting WCF Services
- Programmatically Configuring a Managed Application to Host a WCF Service
- Programmatically Configuring a Managed Application to Call a WCF Service
- Defining Client and Service Settings by Using File-Based Configuration
- Selecting a Hosting Option for a WCF Service
- Deploying a WCF Service
- Lab: Configure and Host a WCF Service
Lesson 3: Endpoints and Behaviors
- Exposing WCF Services Over Different Endpoints
- Adding Behaviors to Services and Endpoints
- Interoperating with Non-WCF Web services
- Lab: Changing Service Endpoints and Behaviors
Lesson 4: Debugging and Diagnostics
- Logging Messages
- Activity Tracing
- Lab: Message Logging and Activity
Lesson 5: Designing and Defining Contracts
- Designing a Coherent and Cohesive WCF Service Interface
- Defining a Service Contract
- Defining Operations on a Service
- Defining a Data Contract
- Lab: Contracts for Services and Data
Lesson 6: Handling Errors
- Relating .NET Exceptions to Service-level Faults
- Using Faults in a Service
- Handling Faults and Exceptions on Clients
- Lab: Error Handling
Lesson 7: Improving WCF Service Quality
- Managing WCF Service Instances
- Managing Concurrency Issues
- Improving WCF Service Performance
- Lab: Improving WCF Service Quality
Lesson 8: Implementing WCF Security
- Overview of Security in WCF
- Applying Overall Security Requirements to a Binding
- Specifying Required Client and Service Credentials
- Working With Security Information
- Lab: Implementing WCF Security
Lesson 9: Implementing Transactions
- Overview of Transactions in a Service-Oriented Application
- Creating Transactional Service Operations
- Enabling the Flow of Transactions from Client to Service
- Lab: Implementing Transactions for a Service
6940 Tudsbury Road, Baltimore, MD 21244
P: 410-597-9722
www.nhbaltimore.com |