1. Introduction to Web API
  2. Basic Web API Design
  3. Configuration
  4. Validation and Error Handling
  5. Security
  6. Advanced Web API Design

 

Introduction to Web API

  • ASP.NET Web API
  • Web API Design
  • REST
  • HATEOAS
  • Scaffolding

Basic Web API Design

  • Defining the Resource
  • Verbs and Web API
  • Content Negotiation
  • Tools for Testing (Fiddler, PostMan)
  • Consuming a REST API using jQuery

Configuration

  • Media Formatters
  • Camel Case and Serializers
  • Routes and Actions
  • Attribute Routing
  • Custom Content Negotiation

Validation and Error Handling in Web API

  • Status Codes
  • Model Validation
  • Built-in Helpers
  • Exception Filters
  • Global Exception Handling

Security in Web API

  • Authentication in the Host
  • Authentication using Message Handlers
  • Token-based Authentication
  • Authorization Filters
  • Custom Authorization Filters
  • Role-based Authorization
  • Preventing Cross-Site Request Forgery

Advanced Web API Design

  • Parameter Binding
  • Type Converters
  • Model Binding
  • Versioning
  • Azure API Services
  • Conclusion