Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Building Web APIs with ASP.NET Web API 2.2

via LinkedIn Learning

Overview

Learn how to efficiently create RESTful services using ASP.NET Web API 2.2, a framework for building web APIs on top of the .NET Framework.

Syllabus

Introduction
  • The power of Web APIs
  • What you should know
  • Technical specifics and setup
1. Controllers and Actions
  • Convention-based routing
  • Parameter binding conventions
  • Parameter binding attributes
  • HTTP verb attributes
  • Return values
  • Validating models
  • Using formats besides JSON
2. Routing
  • Routing table
  • Attribute routing
  • Customizing attribute routes
3. Data Serialization and Model Binding
  • Models and DTOs
  • CRUD operations with Entity Framework
  • Useful Json.NET settings
  • Reference LoopHandling in action
4. Error Handling
  • Using HttpResponseException
  • Using exception filters
  • Using exception loggers
  • Global exception handler
5. API Documentation and Testing
  • Documenting with help pages
  • Documenting with Swashbuckle and Swagger
  • API testing client Postman
6. Security
  • Authorize attribute
  • AllowAnonymous attribute
  • Setting user principal
  • Overview of JSON web tokens
  • JWT in action
Conclusion
  • Next steps

Taught by

Jonathan "J." Tower

Reviews

4.7 rating at LinkedIn Learning based on 99 ratings

Start your review of Building Web APIs with ASP.NET Web API 2.2

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.