Learn your way! Get started

WCF 2012, Part 1 of 3: Fundamentals

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/10/2013
Level Intermediate
Runtime 1h 19m
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 the fundamentals of Windows Communication Foundation (WCF) Services, how to create and consume Web Services and REST services, and how to use the Service Model Metadata Utility (SvcUtil.exe). You will learn what Web Services are and why you would want to use them. Then you will learn how to create a Web Service. This includes writing types with classes and interfaces and decorating those types with declarative information so that WCF can expose them as a Web Service. When building REST Services, you will also learn how to return data in different formats, such as XML and JSON. You will also learn how to build clients that consume both Web Services and REST Services. You will also learn about the Service Model Metadata Utility (SvcUtil.exe).


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


Fundamentals (16:10)
  • Introduction (00:21)
  • Web Service Fundamentals (04:18)
  • Demo: OASIS (01:37)
  • Web Service Building Blocks (01:53)
  • Demo: WSDL (01:45)
  • Demo: WSDL Types (00:54)
  • Demo: WSDL Messages (00:32)
  • Demo: WSDL Port Type (01:56)
  • Demo: WSDL Binding (01:19)
  • Demo: WSDL Service (01:21)
  • Summary (00:10)
Web Services (26:11)
  • Introduction (00:32)
  • Creating a Web Service (00:46)
  • Demo: Building a Service (03:25)
  • Demo: Testing the Service (02:33)
  • Consuming a Web Service (00:28)
  • Demo: Consuming a Service (04:55)
  • Working With Complex Types (00:30)
  • Demo: Complex Types (03:15)
  • Demo: Implementing the Interface (03:33)
  • Demo: Consuming Complex Types (03:33)
  • Demo: Configuring a Service (01:58)
  • Summary (00:38)
REST Services (19:31)
  • Introduction (00:27)
  • Creating REST Services (00:41)
  • HTTP Verbs (01:43)
  • Demo: Creating a REST Service (04:53)
  • Demo: REST Implementation (03:56)
  • Consuming REST Services (00:34)
  • Demo: Consume a REST Service (04:02)
  • Demo: JSON Data (02:42)
  • Summary (00:30)
Contract-First Web Services (17:07)
  • Introduction (00:29)
  • The SvcUtil.exe Utility (00:39)
  • Contract-First Web Services (01:16)
  • Demo: SvcUtil (02:11)
  • Demo: Using the Contract (04:06)
  • Demo: Creating a Client (04:10)
  • Demo: Contract-First Consumer (03:43)
  • Summary (00:29)