Web API Routes, the Pipeline, Content Negotiation, and Documentation

API    |    Intermediate
  • 18 Videos | 1h 20m 1s
  • Earns a Badge
Web APIs have quickly grown in popularity over the past few years and Visual Studio provides out of the box templates and tooling that make for a very pleasant development experience. In this course, you’ll learn about web API Routes, the pipeline, content negotiation, and documentation, beginning with router and centralized routes in ASP.NET, attribute routing, specifying data types, and how to create custom constraints. Then you’ll explore the pipeline and how to navigate it, action filters, and the role of message handlers. Then you’ll discover content negotiation, media types, media type formatters, and how to manually run content negotiation. Finally, you’ll learn about web API versioning, Swagger and the Open API Initiative, and how to automatically generate rich documentation. This course was originall created by Global Knowledge (GK).

WHAT YOU WILL LEARN

  • discuss the role of router and centralized routes in ASP.NET
    describe the purpose of attribute routing to perform routing in ASP.NET
    discuss how routing constraints allow you to specify the type of data to accept when routes are matched
    describe how to create custom constraints to web API routes
    discuss elements of the pipeline and how to navigate it
    describe the purpose of action filters and how to create them
    discuss the role of message handlers and how to create them in ASP.NET Web API
    describe the purpose of content negotiation when building web APIs and how it works
    discuss the role of media types when building web APIs
  • describe the default types of media type formatters included with ASP.NET and how they're used
    discuss how to create custom media type formatters in an ASP.NET web API
    describe how to manually run content negotiation to take control of the content negotiation system in ASP.NET web APIs
    discuss versioning strategies for web APIs and why they're important
    describe how to add versioning support to a web API project
    discuss how API versioning allows you to specify metadata for versions without having to use attributes on controllers
    describe Swagger and the Open API Initiative
    discuss how to work with Swagger to automatically generate rich documentation
    describe how to use Swagger-generated documentation to create an API client using AutoRest

IN THIS COURSE

  • Playable
    1. 
    Centralized Routes
    4m 38s
    UP NEXT
  • Playable
    2. 
    Attribute Routes
    5m 29s
  • Locked
    3. 
    Routing Constraints
    4m 30s
  • Locked
    4. 
    Custom Constraints
    6m 11s
  • Locked
    5. 
    Looking at the Pipeline
    3m 45s
  • Locked
    6. 
    Custom Action Filters
    7m 18s
  • Locked
    7. 
    Custom Message Handlers
    7m 20s
  • Locked
    8. 
    How Content Negotiation Works
    2m 18s
  • Locked
    9. 
    Understanding Media Types
    1m 23s
  • Locked
    10. 
    Default Media Type Formatters
    3m 42s
  • Locked
    11. 
    Creating Custom Media Type Formatters
    6m 31s
  • Locked
    12. 
    Manually Run Content Negotiation
    4m 9s
  • Locked
    13. 
    Versioning Strategies for Web APIs
    2m 14s
  • Locked
    14. 
    Adding Versioning Support
    7m 22s
  • Locked
    15. 
    Versioning by Convention
    2m 38s
  • Locked
    16. 
    Introducing Swagger and the Open API Initiative
    1m 42s
  • Locked
    17. 
    Configuring Swagger
    3m 59s
  • Locked
    18. 
    API Client Generation with Autorest
    4m 53s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Likes 11 Likes 11  
Likes 15 Likes 15  
Likes 0 Likes 0