Learn your way! Get started

WCF 2012, Part 3 of 3: Securing and Deploying

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/24/2013
Level Intermediate
Runtime 2h 8m
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 about Security and Deployment. When learning about security, you will work with Transfer modes, such as Transport and Message. You will learn how to perform authentication and authorization. You will also learn how to configure auditing and handle exceptions via faults. When deploying, you will need to determine the lifetime of a service, which can be singleton, per session, or per call. Messaging patterns specify the interaction between your service and a client and you will learn how to define one-way, duplex, and publish/subscribe patters. There is even a section on how to configure Web Sockets. The section on Azure shows you how to use the Service Bus Relay, secured through Access Control Services (ACS). You will also learn how to deploy a WCF service as a WebRole in a Cloud Service.

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



Securing and Versioning

Configure Security (27:53)
  • Introduction (00:24)
  • Transfer Modes (01:02)
  • Hosting a Service in IIS (01:07)
  • Demo: Service in IIS (03:40)
  • Setting up SSL for a Web Site (00:44)
  • Demo: Setting up SSL (03:12)
  • Configure Transport Security (00:25)
  • Demo: Configure Security (01:49)
  • Demo: Inspect Binding (03:59)
  • Configure Message Security (00:49)
  • Demo: Message Security (02:01)
  • Demo: Configure Transfer Mode (03:07)
  • Demo: Configure Client (04:55)
  • Summary (00:34)
Authorizing and Authentication (27:52)
  • Introduction (00:41)
  • Windows Credentials (01:05)
  • Demo: Authentication (01:07)
  • Demo: Configure Client (01:13)
  • Demo: Who Am I (04:05)
  • Configuring X509 Certificate (01:48)
  • Demo: X509 Certificate (01:48)
  • Username Credentials (01:03)
  • ASP.NET Authorization (00:54)
  • Demo: ASP.NET Membership (04:40)
  • Demo: Username Credentials (00:55)
  • Demo: Cert Authorization (05:21)
  • Demo: Service Permission (01:40)
  • Demo: Run the Service (00:44)
  • Summary (00:39)
Auditing and Faults (16:47)
  • Introduction (00:23)
  • Auditing via Config File (01:35)
  • Audit via API (00:44)
  • Demo: Configuring Auditing (00:59)
  • Fault Handling (01:43)
  • Demo: Using Faults (04:36)
  • Demo: Handling Faults (04:36)
  • Demo: Exception Details (01:50)
  • Summary (00:17)

Deploying to Windows Azure

Application Lifetime (15:11)
  • Introduction (00:43)
  • Singleton (01:10)
  • Demo: Using Singletons (03:55)
  • Per Session (01:06)
  • Demo: Per Session Service (03:40)
  • Per Call (01:16)
  • Demo: Per Call (02:59)
  • Summary (00:17)
Patterns (20:44)
  • Introduction (00:37)
  • One Way (Datagram) (01:15)
  • Demo: One Way (02:55)
  • Callbacks (Duplex) (01:47)
  • Demo: Callbacks (06:21)
  • Demo: Subscribe Patterns (02:22)
  • Web Sockets (Push) (00:41)
  • Demo: Web Sockets (04:07)
  • Summary (00:35)
Azure (19:55)
  • Introduction (00:30)
  • Service Bus Relay (01:30)
  • Demo: Azure Service Bus Relay (04:54)
  • Demo: Service Bus Extensions (05:30)
  • Web Role (00:32)
  • Demo: WCF Web Role (03:42)
  • Demo: Deploy to Azure (02:38)
  • Summary (00:34)