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.
Overview
Syllabus
Introduction
- The power of Web APIs
- What you should know
- Technical specifics and setup
- Convention-based routing
- Parameter binding conventions
- Parameter binding attributes
- HTTP verb attributes
- Return values
- Validating models
- Using formats besides JSON
- Routing table
- Attribute routing
- Customizing attribute routes
- Models and DTOs
- CRUD operations with Entity Framework
- Useful Json.NET settings
- Reference LoopHandling in action
- Using HttpResponseException
- Using exception filters
- Using exception loggers
- Global exception handler
- Documenting with help pages
- Documenting with Swashbuckle and Swagger
- API testing client Postman
- Authorize attribute
- AllowAnonymous attribute
- Setting user principal
- Overview of JSON web tokens
- JWT in action
- Next steps
Taught by
Jonathan "J." Tower