Contact Us: 978.250.4983
Software Skills Training, Inc.

WCF Programming Using C#

Attend face-to-face, remote-live or via on-demand training

WCF Programming Using C#

Duration: 5 Days (Face-to-Face or Remote-Live), or 35 hours of coursework with personal facilitation over a four week span (On-Demand)

US Price: $2495 (Face-to-Face or Remote-Live), or $1495 (On-Demand)

Delivery Options: Attend face-to-face in the classroom, remote-live or via on-demand training

Registration: Click here to view upcoming schedules and register for face-to-face sessions, click here to register for live remote attendance sessions, or click here to register for on-demand training with a start date that is convenient for you.

Schedule View the course schedule

Description

This course provides students with hands on experience using Visual Studio to create service-oriented applications using Windows Communication Foundation (WCF) and C#. This class provides a thorough introduction to the C# programming language, including coverage of the essentials of the C# programming language, built in data types, operators, control structures, classes and methods. Students then learn how to leverage the power of the .NET Framework to build Web Service applications that interoperate with consumer applications including other platforms and technologies.

Students will learn how to configure addresses, bindings, and service and data contracts as well as how to use various techniques for developing endpoints to allow communication between consumer applications and the web services provider.

The course includes coverage of instance management, fault handling, and security. Students will learn how to use the WCF Routing Service for load balancing, content-based routing, and protocol bridging.

Comprehensive labs and exercises provide the students with experience creating both content server and consumer applications.

Prerequisites

Prior experience with a scripting or programming language is required.

Course Overview

Introduction to .NET
  • Overview of the .NET Framework
  • How .NET is Different from Traditional Programming
  • Common Language Runtime (CLR)
  • Common Language Specification (CLS)
  • Common Type System (CTS)
  • .NET Assemblies
  • Microsoft Intermediate Language (CIL)
  • .NET Namespaces
  • .NET Framework Class Library
Introduction to Visual Studio
  • Setting Profiles
  • Creating a Project
  • Using the Code Editor
  • Setting Project Properties
  • Adding References
  • Compiling a Program
  • Running a Program
  • Debugging a Program
  • Using the MSDN (Help)
Language Fundamentals
  • C# Program Structure
  • Defining Namespaces
  • Understanding C# Data Types
  • Defining Variables and Constants
  • Comparing Value Types vs. Reference Types
  • Working with Operators and Expressions
  • Performing Type Conversions
  • Using Console I/O
  • Formatting Numbers, Date and Times
Conditionals and Looping
  • if/else
  • switch
  • while and do/while
  • for
  • foreach
Functions and Parameters
  • Defining Static and Instance Functions
  • Passing Parameters by value and by reference
  • Overloading Functions
  • Optional Parameters
  • Using Variable Length Parameter Lists
Exception Handling
  • What are Exceptions?
  • .NET Exception Hierarchy
  • Catching Exceptions
  • Throwing Exceptions
  • Managing Resources with Finally
Collections
  • Defining and Using Arrays
  • Understanding System.Array
  • Using .NET Collections
  • Working with ArrayLists and Hashtables
  • Working with Lists and Dictionaries
  • Introducing LINQ
Object-Oriented Programming
  • Overview of Object-Oriented Programming
  • Defining and Using Classes
  • Extending .NET Classes via Inheritance
  • Defining and Implementing Interfaces
  • Understanding the Role of Interfaces in .NET
  • Working With Enumerations
Introduction to WCF
  • WCF Web Services Architecture
  • Addresses, Bindings and Contracts
  • WCF Service Libraries
  • WCF Test Host and Test Client
  • ChannelFactory Class
  • Configuring WCF Clients
  • Standard Endpoints
Service Addresses
  • Address Types
    • Endpoint Address
    • Base Address
    • MEX (Message Exchange) Address
  • Metadata Exchange
  • Address Formats
Selecting Binding Options
  • Binding Selection
  • HTTP Bindings
  • TCP and Named Pipe Bindings
  • MSMQ Binding
  • BasicHttpBinding Class
Managing a Service Instance
  • Configuring Behaviors
  • Service Instance Models
    • Per-Call
    • Per-Session
    • Singleton
  • Threading Considerations
  • Consuming WCF Application Services with .NET Applications
  • Consuming WCF Application Services on foreign platforms
Defining Service Contracts
  • Service and Operation Contracts
  • Creating Contracts at the Class and Interface Level
  • Using ServiceContractAttribute
  • Types of Service Contracts
    • Oneway
    • Request-Reply
    • Duplex
  • Callbacks
  • Asynchronous Proxies
  • WSDL Files
  • Contract Inheritance and Overloading
  • Implementing Message Exchange Patterns
  • Versioning
Defining Data Contracts
  • Using DataContractAttribute
  • Mapping Data to Schema
  • Returning Arrays
  • Returning Generic Collections
  • Data Serialization
  • Versioning
Endpoints
  • Endpoints Explained
  • Working with Endpoints
  • Configuring Endpoints
  • Using Multiple Endpoints
Fault Handling
  • FaultException class
  • FaultCode class
  • FaultContract class
  • Client Exception Handling
  • Including Exception Details
Securing WCF Applications
  • Security Issues with Services
  • Types of Security
    • Transfer Security
    • Transport Security
    • Message Security
  • Configuring Security on Client and Server
  • Managing Certificates
  • Configuring Client Certificates
  • Sending Credentials
WCF Routing Configuration
  • WCF Routing Service
  • Hosting the Service
  • Consuming the Service
  • Service Contract and Implementation
  • Routing Contracts
  • Message Filters
  • Common Routing Scenarios
    • Load Balancing
    • Content Based Routing
    • Service Partitioning
    • Protocol Bridging

Related Training

Course
WCF Programming for Experienced C# Programmers

Training Locations

Choose a city below to view a schedule for in-person classes. Courses may also be taken via our Online Remote Attendance and On-Demand training options.