ASP.NET

ASP.NET Web API Essentials Using C# (MVC201)

Course Length: 2 days

This ASP.

ASP.NET Web API Essentials Using C#

Register or Request Training

  • Private class for your team
  • Live expert instructor
  • Online or on‑location
  • Customizable agenda
  • Proposal turnaround within 1–2 business days

Course Overview

This ASP.NET Web API Essentials Using C# training class provides a practical hands-on introduction to developing and consuming ASP.NET Web API services using C# and Visual Studio. 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.

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

Delivery Methods

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 receives a comprehensive set of materials, including course notes and all 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

Have questions about this course?

We can help with curriculum details, delivery options, pricing, or anything else. Reach out and we’ll point you in the right direction.