WCF Design Concepts
Explore common design concepts for building connected systems on the Microsoft platform using Windows Communication Foundation.
Authored by:
Aaron Skonnard
Duration: 6h 35m
Level: Intermediate
Released: 8/22/2008
Features:
Duration: 6h 35m
Level: Intermediate
Released: 8/22/2008
Features:
Course Rating:
You are currently not signed in. Please sign in to access subscriber-only content.
Currently using: {{getCurrentPlayerName()}} [Change]
| expand all | collapse all | Progress | Duration | |
|---|---|---|---|
Serialization |
|
01:22:11 | |
|
Overview
|
|
03:28 | |
|
WCF serializers
|
|
03:20 | |
|
Demo: Serialization and SvcUtil.exe
|
|
07:58 | |
|
XmlSerializer
|
|
03:06 | |
|
NetDataContractSerializer
|
|
02:18 | |
|
DataContractSerializer
|
|
02:39 | |
|
DCS supported types
|
|
01:58 | |
|
[DataContract] mapping
|
|
11:05 | |
|
Demo: Using [DataContract] and [DataMember]
|
|
04:38 | |
|
Composition, derivation, and known types
|
|
07:33 | |
|
Demo: Using [KnownType]
|
|
05:17 | |
|
Enumerations
|
|
01:28 | |
|
DataSets, arrays, and collections
|
|
08:01 | |
|
Demo: Using collections vs. DataSet
|
|
06:05 | |
|
Serialization events
|
|
01:54 | |
|
Demo: Hooking the serialization events
|
|
01:57 | |
|
Demo: Bringing it all together
|
|
07:45 | |
|
Summary
|
|
01:41 | |
Service Contracts |
|
01:28:12 | |
|
Overview
|
|
01:30 | |
|
Service contract architecture
|
|
06:24 | |
|
Demo: Multiple service contracts
|
|
08:09 | |
|
Runtime dispatching
|
|
02:22 | |
|
Importing/exporting
|
|
01:57 | |
|
Demo: Importing/exporting with SvcUtil.exe
|
|
05:19 | |
|
Service contract mapping
|
|
06:35 | |
|
Demo: Customizing service contracts
|
|
09:17 | |
|
Designing operations
|
|
01:03 | |
|
One-way operations
|
|
01:24 | |
|
Demo: One-way operations
|
|
04:35 | |
|
Duplex contracts
|
|
06:15 | |
|
Demo: Duplex contracts
|
|
07:27 | |
|
Mapping methods to messages
|
|
02:45 | |
|
Message contracts
|
|
02:40 | |
|
Demo: Message contracts
|
|
11:22 | |
|
Generic contracts
|
|
02:44 | |
|
Demo: Generic contracts
|
|
05:21 | |
|
Summary
|
|
01:03 | |
Faults and Exceptions |
|
01:12:08 | |
|
Overview
|
|
01:44 | |
|
Exceptions and faults
|
|
04:13 | |
|
WCF exception handling
|
|
04:10 | |
|
Including exception details in faults
|
|
01:25 | |
|
Demo: Default exception/fault handling
|
|
08:48 | |
|
FaultException
|
|
02:48 | |
|
Demo: Working with FaultException
|
|
05:33 | |
|
Typed faults
|
|
04:09 | |
|
Fault contracts
|
|
02:50 | |
|
Demo: Working with typed faults
|
|
06:37 | |
|
Global exception handling
|
|
00:58 | |
|
IErrorHandler
|
|
02:51 | |
|
Demo: Implementing IErrorHandler
|
|
08:51 | |
|
Client-side exception handling
|
|
02:11 | |
|
Faulted channels
|
|
02:07 | |
|
Proper disposing techinques
|
|
02:11 | |
|
Demo: Client-side exception handling
|
|
09:22 | |
|
Summary
|
|
01:20 | |
Security |
|
01:28:09 | |
|
Overview
|
|
01:20 | |
|
The CIA of security
|
|
01:34 | |
|
Demo: Secure by default
|
|
08:07 | |
|
Security choices you need to make
|
|
01:44 | |
|
Declaring the protection level
|
|
03:21 | |
|
Demo: Using ProtectionLevel
|
|
02:46 | |
|
Configuring security in bindings
|
|
04:20 | |
|
Transport security
|
|
04:31 | |
|
Message security
|
|
05:31 | |
|
TransportWithMessageCredential
|
|
01:55 | |
|
Client credential type
|
|
04:51 | |
|
Demo: Configuring the WSHttpBinding
|
|
08:05 | |
|
Demo: Configuring the NetTcpBinding
|
|
02:58 | |
|
Security call context
|
|
01:51 | |
|
Authorization options
|
|
02:51 | |
|
Impersonation
|
|
03:17 | |
|
Demo: Authorization using impersonation
|
|
04:19 | |
|
Groups and roles
|
|
02:43 | |
|
Demo: Authorization using [PrincipalPermission]
|
|
03:37 | |
|
Federation and claims
|
|
02:48 | |
|
Claims-based authorization
|
|
01:11 | |
|
Demo: Authorization using claims
|
|
05:41 | |
|
Authorization behaviors
|
|
02:40 | |
|
Demo: Authorization using a custom behavior
|
|
05:12 | |
|
Summary
|
|
00:56 | |
Reliability |
|
01:04:24 | |
|
Overview
|
|
01:14 | |
|
WCF reliability solutions
|
|
03:19 | |
|
Why reliable sessions?
|
|
02:47 | |
|
Reliable session features
|
|
03:38 | |
|
Enabling reliable sessions
|
|
01:18 | |
|
Demo: Reliable sessions in action
|
|
04:42 | |
|
Why queued messaging?
|
|
03:45 | |
|
Enabling queued messaging
|
|
02:54 | |
|
Demo: Queued messaging in action
|
|
06:24 | |
|
Why transactions?
|
|
01:27 | |
|
ACID transactions
|
|
02:37 | |
|
Using transactions in .NET 2.0
|
|
04:29 | |
|
Declarative transactions
|
|
01:07 | |
|
Flowing transactions
|
|
05:45 | |
|
Demo: Transaction flow in action
|
|
07:33 | |
|
Long-running (saga) transactions
|
|
04:04 | |
|
Compensating transactions
|
|
01:09 | |
|
Dead-letter and poison queues
|
|
05:04 | |
|
Summary
|
|
01:08 |
Serialization