ASP.NET Web API Essentials Using C#

Course duration

Course Benefits

  • Gain an understanding of what ASP.NET Web API is and why it is useful
  • Implement HTTP services using Web API and Visual Studio
  • 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
Available Delivery Methods
Public Class
Public expert-led online training from the convenience of your home, office or anywhere with an internet connection. Guaranteed to run .
Private Class
Private classes are delivered for groups at your offices or a location of your choice.

Course Outline

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

Class Materials

Each student will receive a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following is required for this ASP.NET class:

  • Good working knowledge of C# and the .NET Framework.
  • Basic knowledge of ASP.NET, HTML, and JavaScript
Since its founding in 1995, InterSource has been providing high quality and highly customized training solutions to clients worldwide. With over 500 course titles constantly updated and numerous course customization and creation possibilities, we have the capability to meet your I.T. training needs.
Instructor-led courses are offered via a live Web connection, at client sites throughout Europe, and at our Geneva Training Center.