Web Services Using C# and .NET (VS2013)

Course Description

This course provides a realistic, hands-on and comprehensive coverage of developing Web services using .NET and C#. Web services are an evolving series of standards that enable programs on various computers to communicate with other programs on similar or disparate computers transparently over the Internet. This course teaches in detail the skills needed to program Web services using .NET technologies, both ASP.NET and Windows Communication Foundation (WCF). It introduces ASP.NET Web API. The course also examines the fundamentals of SOAP, WSDL and REST. It is current to .NET 4.5.1 and Visual Studio 2013, with coverage of newer features such as the WS-I Basic Profile 1.1, SOAP 1.2, the event pattern for calling Web services asynchronously, support for RESTful services, and more.
4 days
Contact us for pricing
Contact us for dates
Contact us for dates


Knowledge of the .NET Framework using C# and an understanding of the fundamentals of XML. Some experience in ASP.NET is advantageous.


• Gain a comprehensive understanding of the philosophy and architecture of Web services and Service Oriented Architecture
• Acquire a working knowledge of creating and consuming Web services using the .NET Framework 4.5.1 and Visual Studio 2013
• Attain a detailed knowledge of the building blocks of Web services, including XML, SOAP and WSDL
• Understand issues in the ASP.NET programming model, such as caching, data handling and state management
• Implement Web services and clients using WCF.
• Understand the issues of interoperability between Web services created using ASP.NET and those created using WCF
• Attain a working knowledge of ASP.NET Web API and its use in creating HTTP services and clients.
• Understand the principles of Representational State Transfer and how to implement RESTful services and clients using ASP.NET Web API.

What Are Web Services?

Introduction to Distributed Computing
Network Latency
Object State and Scalability
Web Service Business Models
Service Oriented Architecture (SOA)
ASP.NET Web Services
Windows Communications Framework (WCF)
Representational State Transfer (REST)

Web Services Fundamentals

Creating a Web Service Using ASP.NET
Deploying a Web Service Using IIS
Testing a Web Service
SOAP 1.1 and SOAP 1.2
Web Service Clients

Developing ASP.NET Web Services

Using Visual Studio 2013 to Develop Web Services
Visual Web Developer
Using ASP.NET Development Server
An Overview of the Web Services Namespaces
Deriving from the WebService Class
@Webservice Attribute
WebService Class
Adding a WebMethod to Web Services
Debugging Web Services
WS-I Basic Profile
ASP.NET Configuration

Web Service Clients

Web Service Proxies
Web Services Description Language Tool (Wsdl.exe)
Understanding the Proxy Code
Creating a Proxy with Visual Studio 2013
Returning Complex User-Defined Data Types

ASP.NET Web Services Programming Model

Asynchronous Programming in Web Services
Asynchronous Events in .NET 4.0
Managing State in ASP.NET Web Services
Transactions in ASP.NET Web Services
Caching in ASP.NET Web Services

ASP.NET Web Services Programming Model

What Is Not Serialized
Writing and Reading XML
Customizing XML Serialization
XML Schema and XSD
Creating Classes from Schemas
XML Serialization and Web Services

More about SOAP

The Structure of SOAP Messages
Using SOAP Headers
SOAP Faults
Document and RPC Style Messaging
Literal and Encoded Use
Customizing SOAP with Attributes
Using SOAP 1.2

More about WSDL

The Need for Service Description
An IDL for Web Services
WSDL Namespaces
The WSDL Description Model
WSDL Descriptors as Schema
Message Description
Messaging Scenarios
Operations: Input, Output, and Fault
Service Description
Extending WSDL
.NET WSDL Classes
WSDL First!

Data Access with Web Services

Multiple-Project Solutions in Visual Studio
Multiple-Tier Data Access
Data Access Using ADO.NET
A Data Access Web Service
Data Binding with Windows Forms
Binding to a Web Service

Introduction to WCF

What is WCF?
Address, Binding and Contract
WCF Services and Clients
IIS Hosting
Interoperability with ASMX Web Services
Data Contracts

Introduction to Web API

Representational State Transfer
REST and Web API
HTTP Services Using Web API
Using Fiddler
ASP.NET Web API Clients
CRUD Operations

C#Visual StudioVisual Studio 2013Microsoft Visual StudioMicrosoft Visual Studio 2013VS2013Ms Visual StudioMS Visual Studio 2013