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

Provider Logo

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.

Learn how to connect web and mobile applications to back-end servers and databases in your applications using ASP.NET Web API 2.2, a popular framework for building web APIs on top of the .NET Framework. In this course, join Jonathan "J." Tower as he steps through how to use this framework to efficiently create RESTful services. Learn how routing works with Web API to ensure APIs work as planned and are easily consumed by remote applications. Discover how data is modeled in Web API, along with how to build business logic for your API. Plus, learn about handling errors, securing your services, and documenting and testing your APIs.

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

Related Courses

Reviews

0.0 rating, based on 0 reviews

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

Never stop learning Never Stop Learning!

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

Sign up for free