Duration
2 days (10:00 AM - 5:00 PM Eastern)
Cost
$650.00
Online Schedule
  • Nov 26 - Nov 27
  • Dec 16 - Dec 17
  • Jan 27 - Jan 28
  • Feb 17 - Feb 18
  • Mar 30 - Mar 31

Details

Subjects Covered

Prerequisites

Setup Requirements

Details

Course Details

This course provides a practical hands-on introduction to developing and consuming ASP.NET Web API services using C# and Visual Studio 2017 or higher. This Web development framework from Microsoft makes it easy to create HTTP services that can reach a broad range of clients. It is an excellent platform for creating RESTful Web applications. 

  • Gain an understanding of what ASP.NET Web API is and why it is useful
  • Implement HTTP services using Web API and Visual Studio 2017
  • Consume HTTP services using both jQuery and the ASP.NET Web API client library
  • Handle different media formats and content variations in Web API services
  • Understand routing and binding in Web API
  • Perform validation of request data

Subjects Covered

ASP.NET Web API Essentials Using Visual C#

  • Introduction to ASP.NET Web API
    • ASP.NET Web API
    • Representational State Transfer
    • REST and Web API
    • HTTP Services Using Web API
    • Using Fiddler
    • Web API vs. WCF
  • Web API and HTTP
    • HTTP Response Codes
    • HttpResponseException
    • Implementing POST
    • Implementing PUT
    • Implementing DELETE
  • Media Formatters and Content Negotiation
    • Internet Media Types
    • Media Formatters
    • JSON and XML Formatters
    • Content Negotiation
    • Accept and Content-Type Headers
    • Using the Query String
    • Custom Request Headers
    • Serialization
    • BSON Serialization
  • JavaScript Clients
    • Document Object Model
    • jQuery
    • Sending AJAX Requests
    • Implementing a Client
  • Binding, Validation, and Routing
    • Reading Raw HTTP Requests
    • Route Data, Query String and Request Body
    • Binding to Simple Types
    • Binding to Complex Types
    • Validation Using Data Annotations
    • Routing in ASP.NET Web API
    • Using Default Routes
  • .NET Clients
    • Web API Client Libraries
    • HttpClient
    • Issuing GET Requests
    • Issuing POST Requests
    • Other Requests

Prerequisites

Before Taking this Class

The student should have a good working knowledge of C# and the .NET Framework. Basic knowledge of ASP.NET, HTML and JavaScript is also required.

Setup Requirements

Software/Setup For this Class

Required software is Visual Studio 2017 or higher, including the free Express versions. The preferred operating system is Windows 7 or higher. The free Fiddler HTTP tool is also used. This can be downloaded from the Web. See the course Setup Notes for details.

Onsite Training

Do you have five (5) or more people needing this class and want us to deliver it at your location?