This course is provided by Wintrac.
Wintrac provides one stop shopping for all your IT training needs. Wintrac’s course catalog of over two thousand courses includes courses on
.NET training
.NET Training Overview
Windows Communication Foundation (WCF) is an API used to build distributed applications using .NET 3.0 (and higher). WCF was designed to expose the current multitude of Windows remoting APIs (web services, MSMQ, TCP, peer-to-peer, etc) from a single unified toolkit. In this course, attendees will examine the overall WCF programming model, binding choices, host options, security issues and the use of declarative markup to specify the underlying infrastructure.
.NET Training Audience:
Experienced .NET 2.0 software developers interested in learning about WCF.
.NET Training Prerequisites
Understanding of Object Oriented Programming Using C# or VB.NET 2.0 development experience is required. No prior knowledge of WCF is assumed.
.NET Training Course duration
3 days
.NET Training Course outline
Introducing WCF
- A Working Definition of Windows Communication Foundation (WCF)
- Reviewing the Role of Interface-Based Programming
- Reviewing the Role of XML Web Services
- XML Web Services Under the .NET Platform
- The Role of SOAP in XML Web Services
- The Role of the WS-I Specifications
- Defining Service-Oriented Architectures
- The Four Tenets of SOA
- A Potpourri of Additional Distributed APIs
- The Motivation Behind WCF
- WCF Assemblies and Core Namespaces
- The Basic Composition of a WCF Application
- The ABCs of WCF
- The Role of WCF Contracts
- Examining WCF Binding Options
- Establishing a WCF Address
- Defining and Implementing a WCF Contract
Building WCF Hosts and Clients
- Hosting Options for WCF Services
- The System.ServiceModel.ServiceHost Type
- Creating Self-Hosting WCF Services
- Exposing Multiple WCF Services from the Same AppDomain
- Specifying the Host’s ABCs in Code
- Configuring a Service to Use Multiple Endpoints
- Configuring a WCF Binding
- Understanding Metadata Exchange Services
- The Role of the <baseAddresses> Element
- Building a WCF Client Application
- Hosting WCF Services within a Windows Service
- Hosting WCF Services Within IIS
- Implementing One-Way Operations
- Communicating with WCF Services Asynchronous
- Reviewing Delegates
- Dissecting the Delegate
- Using Delegates for Asynchronous Calls
- Synchronizing the Calling Thread Using IsCompleted
- Using the AsyncCallback Delegate
Building Robust WCF Services
- Details of the [ServiceContract] Attribute
- Details of the [OperationContract] Attribute
- Understanding WCF Data Contracts
- Ordering of Data Members and Known Types
- Versioning WCF Contracts
- Controlling the Format of a SOAP Message
- Handling Runtime Exceptions
Stateful WCF Services
- Understanding Server Instance Context Modes
- The PerCall Instance Context Mode
- The Single Instance context Mode
- Directly Controlling Service Instance Deactivation
- Sequencing Method Operations
- The Need for Reliable Messages
- WCFs Support for WS-ReliableMessaging
- Enabling WS-RM Support
Introduction to WCF Security Topics
- An Overview of WCF Security Issues
- Securing Message Transport
- Securing Services at the Message Level
- Authentication / Authorization for In-House WCF Services
- Authorizing In-House Users via Role-Based Security
- Establishing Users, Groups, and Roles
- Understanding the Role of Principals
- The System.Security.Principal.WindowsPrincipal Type
- The System.Security.Principal.WindowsIdentity Type
- Obtaining the Current Principal
- Programming Choices with RBS
- The PrincipalPermission Type
- Declarative RBS
- Securing an Outwardly Facing WCF Service
- Authentication for HTTP-Based Services
Appendix A: COM+ Integration
- A Brief Review of COM+
- The Role of WCF => COM+ Integration
- COM+ / WCF Interoperability Design Issues
- Installing the ActiveX DLL into COM+
- Generating the WCF Service COM+ Wrapper
- Analyzing the Generated COM+ Wrapper Files
- Generating the Client Proxy
- Additional Flavors of WCF Interoperability