Course
Skills Expanded
WCF Design Concepts
Explore common design concepts for building connected systems on the Microsoft platform using Windows Communication Foundation.
What you'll learn
Windows Communication Foundation (WCF) is the basis for building connected systems on the Windows platform using .NET, making it possible to build secure, reliable, and transacted services that can be composed into service-oriented applications. This course explores several key areas of WCF service architecture, including serialization, service contracts, faults and exceptions, security and reliability.
Table of contents
Serialization
82mins
- Overview 3m
- WCF serializers 3m
- Demo: Serialization and SvcUtil.exe 8m
- XmlSerializer 3m
- NetDataContractSerializer 2m
- DataContractSerializer 3m
- DCS supported types 2m
- [DataContract] mapping 11m
- Demo: Using [DataContract] and [DataMember] 5m
- Composition, derivation, and known types 8m
- Demo: Using [KnownType] 5m
- Enumerations 1m
- DataSets, arrays, and collections 8m
- Demo: Using collections vs. DataSet 6m
- Serialization events 2m
- Demo: Hooking the serialization events 2m
- Demo: Bringing it all together 8m
- Summary 2m
Service Contracts
88mins
- Overview 2m
- Service contract architecture 6m
- Demo: Multiple service contracts 8m
- Runtime dispatching 2m
- Importing/exporting 2m
- Demo: Importing/exporting with SvcUtil.exe 5m
- Service contract mapping 7m
- Demo: Customizing service contracts 9m
- Designing operations 1m
- One-way operations 1m
- Demo: One-way operations 5m
- Duplex contracts 6m
- Demo: Duplex contracts 7m
- Mapping methods to messages 3m
- Message contracts 3m
- Demo: Message contracts 11m
- Generic contracts 3m
- Demo: Generic contracts 5m
- Summary 1m
Faults and Exceptions
72mins
- Overview 2m
- Exceptions and faults 4m
- WCF exception handling 4m
- Including exception details in faults 1m
- Demo: Default exception/fault handling 9m
- FaultException 3m
- Demo: Working with FaultException 6m
- Typed faults 4m
- Fault contracts 3m
- Demo: Working with typed faults 7m
- Global exception handling 1m
- IErrorHandler 3m
- Demo: Implementing IErrorHandler 9m
- Client-side exception handling 2m
- Faulted channels 2m
- Proper disposing techinques 2m
- Demo: Client-side exception handling 9m
- Summary 1m
Security
88mins
- Overview 1m
- The CIA of security 2m
- Demo: Secure by default 8m
- Security choices you need to make 2m
- Declaring the protection level 3m
- Demo: Using ProtectionLevel 3m
- Configuring security in bindings 4m
- Transport security 5m
- Message security 6m
- TransportWithMessageCredential 2m
- Client credential type 5m
- Demo: Configuring the WSHttpBinding 8m
- Demo: Configuring the NetTcpBinding 3m
- Security call context 2m
- Authorization options 3m
- Impersonation 3m
- Demo: Authorization using impersonation 4m
- Groups and roles 3m
- Demo: Authorization using [PrincipalPermission] 4m
- Federation and claims 3m
- Claims-based authorization 1m
- Demo: Authorization using claims 6m
- Authorization behaviors 3m
- Demo: Authorization using a custom behavior 5m
- Summary 1m
Reliability
64mins
- Overview 1m
- WCF reliability solutions 3m
- Why reliable sessions? 3m
- Reliable session features 4m
- Enabling reliable sessions 1m
- Demo: Reliable sessions in action 5m
- Why queued messaging? 4m
- Enabling queued messaging 3m
- Demo: Queued messaging in action 6m
- Why transactions? 1m
- ACID transactions 3m
- Using transactions in .NET 2.0 4m
- Declarative transactions 1m
- Flowing transactions 6m
- Demo: Transaction flow in action 8m
- Long-running (saga) transactions 4m
- Compensating transactions 1m
- Dead-letter and poison queues 5m
- Summary 1m