WCF 2012, Part 2 of 3: Configuring

WCF 2012, Part 2 of 3: Configuring

LearnNow Online
Updated Aug 22, 2018

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.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


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.

Meet the expert

Joe Mayo

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.

Video Runtime

57 Minutes

Time to complete

220 Minutes

Course Outline


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)