• Online, Self-Paced
Course Description

Web API is the application programming interface for both the web server (server side) and web browser (client side). There are a lot of different technologies and practices that fall into this category. In this course, you will learn about request binding, request validation, API security, and hosting.

Learning Objectives

Consuming the Web API

  • start the course
  • apply jQuery to your own development site
  • describe what JSON is and how it is used
  • describe what AJAX is and how it is used
  • describe how a Web API can be consumed

CLR Object Binding to an HTTP Request

  • recall how to do Model Binding with ASP.NET Web API
  • recall how to do Formatter Binding with ASP.NET Web API
  • recall how to do Parameter Binding with ASP.NET Web API

Custom Bindings to an HTTP Request

  • create a custom ValueProvider
  • create a custom ModelBinder
  • create a custom ParameterBinding

Request Validation

  • use attributes from the System.ComponentModel.DataAnnotations namespace to set validation rules
  • use custom validation attributes to annotate your model
  • compare fluent validation and data annotation
  • describe how the Web API framework receives a request, and routes the request to an action
  • create a Web.config file for your application and set the validateRequest attribute
  • describe how to use convention-based routing in conjunction with the new attribute routing

Web.API Security

  • identify Web API Services Security
  • compare authentication and authorization
  • use the authorization filter
  • apply the filter as a global, controller, or action
  • describe how .NET role-based security uses the principal
  • compare claims-based security, authorization and role-based security methods
  • describe why it is necessary to use encryption

Hosting

  • compare hosting and self-hosting and why you would use one over the other
  • compare in-memory hosting and self-hosting

Practice: Advanced Web API

  • understand how to use different API tools and understand concepts

Framework Connections

The materials within this course focus on the Knowledge Skills and Abilities (KSAs) identified within the Specialty Areas listed below. Click to view Specialty Area details within the interactive National Cybersecurity Workforce Framework.