WCF Using Visual C# 2008

with Robert Green


Course Description: In this course, you will learn how to use Windows Communication Framework (WCF) and you will see how it is a unified programming model for building service-oriented distributed applications. You will see how to build, host and call WCF services and you will gain a deep understanding of the basic building blocks of WCF, including endpoints, bindings and contracts. In addition, see how to handle exceptions, maintain state between calls to a service and use transactions. Subsequent topics include and basics of WCF security, integrating WCF with Windows Workflow Foundation and building WCF services that support Representational State Transfer (REST) and syndication. By the time you have completed the course, you will have a good understanding of how to build and use WCF services in your distributed applications.



10+ hours of media runtime

Intro To WCF

  • History
  • Service Orientation
  • Principles
  • What's Wrong
  • WCF to the Rescue
  • WCF vs Web Services
  • WCF
  • Demo: WCF Service

Building Blocks

  • WCF Building Blocks
  • Service
  • Service Contracts
  • Data Contracts
  • Endpoints
  • Bindings
  • Provided Bindings
  • Demo: WCF Service
  • Hosting Service
  • Client to Call Service

IIS And Self Hosting

  • Hosting a WCF Service
  • Hosting Options
  • Which Should You Use?
  • Demo: Hosting Using IIS
  • Self Host WCF Services
  • Demo: Self Hosting
  • Call Service From Client
  • Multiple Endpoints
  • Two Services

Config Files

  • Defining Endpoints
  • ServiceModel Config
  • <services> Element
  • Config Example
  • Multiple Endpoints
  • Demo: Config File
  • Config Editor
  • Config File for Client
  • Channels
  • Modifying Config Files
  • Publishing Metadata
  • Demo: Metadata

Windows Services And WAS

  • Windows Services
  • Demo: Windows Service
  • Process Activation
  • Demo: Install Components
  • Add Host Project
  • Different Protocols
  • Update Client
  • Update Form

Channels And Bindings

  • Channels
  • Channel Stacks
  • Bindings
  • Binding Elements
  • Binding Properties
  • Demo: Properties
  • Customize Bindings
  • Bindings From Scratch

Service Contracts

  • Overview
  • Demo: Contracts
  • Modifying Service Contracts
  • Demo: Modifying

Data Contracts

  • Overview
  • Modifying Data Contracts
  • Demo: Modifying
  • Required

Exception Handling

  • Exceptions
  • Fault Exceptions
  • Demo: Exceptions
  • Try Catch
  • Handle Client Exception
  • FaultReason
  • Strongly Typed SOAP Faults
  • Demo: SOAP Faults

Diagnostics

  • Tracing Applications
  • Trace Sources
  • Trace Switches
  • Trace Listeners
  • Trace Filtering
  • Message Logging
  • Demo: Tracing

Message Patterns

  • Message Exchange Patterns
  • Demo: One-Way Duplex
  • Duplex Pattern
  • Duplex Communication
  • Demo: Duplex Communication

Sessions

  • Sessions
  • Bindings and Sessions
  • Instancing
  • PerCall Instancing
  • PerSession Instancing
  • Single Instancing
  • Demo: TCP Sessions
  • Demo: HTTP Sessions
  • Demo: Instancing
  • Control Sessions
  • Demo: Control Sessions
  • Sessions and Concurrency
  • Single Thread Concurrency
  • Reentrant Thread Concurrency
  • Multiple Threads Concurrency
  • Demo Scenario
  • Demo: Concurrency

Transactions

  • Transactions
  • Enable Transactions in WCF
  • Starting a Transaction
  • Demo: Configure Transactions
  • Transactions and Sessions
  • Demo: Transactions-Sessions

Security Basics

  • Security Concepts
  • WCF Security Mechanisms
  • Transport Level Security
  • Message Level Security
  • Pros and Cons
  • Default Security Settings
  • Demo: Encrypting Messages

Authentication

  • Overview
  • Transport Security Credentials
  • Message Security Credentials
  • Default Security Settings
  • Scenario
  • Demo: Passing Credentials
  • Demo: User Authentication
  • Scenario
  • Demo: Basic Authentication
  • ASP.NET Membership Provider
  • Configure Web Site Security
  • Configure Binding and Service
  • Demo: ASP.NET Membership

Authorization

  • Overview
  • Role Based Authorization
  • Role Based Security
  • Identity
  • Principal
  • WindowsPrincipal Class
  • GenericPrincipal Class
  • PrincipalPermission
  • Demo: Using Identities
  • Demo: Generic Identity
  • ASP.Net Role Provider
  • Configure Web Site Security
  • Configure Binding and Service
  • Demo: ASP.NET Role Provider

Workflow Services

  • Windows Workflow Foundation
  • Sequential Workflow
  • State Machine Workflow
  • Workflow Services
  • ReceiveActivity
  • Authoring Styles
  • Hosting Workflow Services
  • Demo: Workflow Service
  • Demo: Hosting Workflow IIS

Send Activity

  • SendActivity
  • Demo: SendActivity
  • Demo:Send/ReceiveActivity

Stateful Workflow Services

  • Overview
  • Using the State Activity
  • Using the SetState Activity
  • Using the EventDriven Activity
  • Workflow Persistence
  • SQL Persistence Service
  • Demo:StateMachine Workflow
  • Demo: Setup Persistence

Restful Services

  • REST
  • REST Principles
  • Why use REST vs SOAP?
  • REST and WCF
  • WebGet Attribute
  • WebHttpBinding
  • WebServiceHost
  • Demo: RESTful Service
  • Uploading Data

Syndication

  • Overview
  • Syndication and WCF
  • Syndication Classes
  • Demo: Syndication Feed
  • Demo: ATOM Feed
  • Demo: ATOM and RSS
 

Get our entire learning library

ONLY

$49
.99
per year

Visual Studio, ASP.NET, SQL, SharePoint and more...
  • 3,400+ video tutorials
  • Microsoft MVP's and experts
  • Future video releases FREE
  • 100% money-back guarantee


Not ready to buy? Try now