Learn your way! Get started

WCF 2012, Part 2 of 3: Configuring

with expert Joe Mayo


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 6/17/2013
Level Intermediate
Runtime 0h 57m
Closed captioning Included
Transcript Included
eBooks / courseware Included
Hands-on labs Included
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

In this course, you will learn how to configure WCF Services. You will start by learning what an endpoint is and the parts that make an endpoint. Then you will learn how to use configuration files to define endpoints. This includes both manually modifying the XML file configuration, but also using Visual Studios Service Configuration Editor, which is a GUI tool that will modify the XML for you. You can also configure endpoints programmatically and you will learn how to do this via API. You will learn how to extend WCF services with Behaviors and learn how to specify behavior via configuration. Visual Studio includes a tool, Service Reference Settings, that lets you customize the behavior of a client proxy and you will learn all the details.

Prerequisites

This course assumes that students have a strong programming background. This course assumes intermediate knowledge of using C# in Visual Studio 2012 and building libraries (DLLs) and Console applications.

Learning Paths

This course will help you prepare for the following certification and exam:
MCSD: Web Applications
70-487: Developing Windows Azure and Web Services

This course is part of the following LearnNowOnline SuccessPaths™:
Building Windows Applications

Meet the expert

Joe Mayo is an author, independent consultant, and instructor specializing in Microsoft .NET and Windows 8 technology. He has several years of software development experience and has worked with .NET since July 2000. Joe has written books and contributes to magazines such as CODE Magazine. He has been an active contributor to the .NET community for years, operating the C# Station Web site, authoring the LINQ to Twitter open source project, and speaking regularly at user groups and code camps. For his community contributions, Microsoft has honored Joe with several Most Valuable Professional (MVP) Awards through the years.

Course outline



Configuring

Endpoints (03:06)
  • Introduction (00:13)
  • The ABCs of Endpoints (00:46)
  • Demo: Endpoints (01:54)
  • Summary (00:11)
Configuration File (17:16)
  • Introduction (00:23)
  • Configuring Addresses (00:53)
  • Demo: Working with Addresses (01:54)
  • Configuring Bindings (02:04)
  • Demo: Bindings (02:43)
  • Binding Customization (00:52)
  • Demo: Customize a Binding (02:55)
  • Configuring a Client (00:30)
  • Demo: Client Configuration (04:37)
  • Summary (00:21)
Configuration API (15:54)
  • Introduction (00:18)
  • Self-Hosting (00:30)
  • Demo: Self-Hosting Service (03:20)
  • Configuring a Client (00:39)
  • Demo: Client For Self-Hosted (04:38)
  • Binding Customization (00:34)
  • Demo: Custom Bindings (05:16)
  • Summary (00:36)
Behaviors (05:54)
  • Introduction (00:15)
  • About Behaviors (00:50)
  • Demo: Configuring Behaviors (04:31)
  • Summary (00:18)
Config Tools (15:17)
  • Introduction (00:29)
  • Service Reference Settings (01:13)
  • Demo: Configure a Reference (02:44)
  • Demo: Async Operations (01:25)
  • Demo: Message Contracts (03:02)
  • Demo: Reusing Types (03:04)
  • Demo: SvcUtil Reference Settings (02:23)
  • Summary (00:53)