Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Building Web APIs with ASP.NET Web API 2.2

Building Web APIs with ASP.NET Web API 2.2

2h 19mBeginner2018-10-17

Authors

Jonathan "J." Tower

Jonathan "J." Tower

Microsoft MVP, Software Architect

Course details

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.
Learning objectives
Convention-based routing
Binding your code to an HTTP request
Validating models
Using attributes to route requests
Customizing attribute routes
Data serialization and model binding
Error handling
Using exception filters and exception loggers
API documentation and testing
Securing your API

Skills covered

ASP.NET Web APIEntity FrameworkASP.NETC#Back-End Web DevelopmentProjectWeb DevelopmentOpen SourceMicrosoft

Concepts

0. Introduction

  • 01 - The power of Web APIs
  • 02 - What you should know
  • 03 - Technical specifics and setup

1. Controllers and Actions

  • 04 - Convention-based routing
  • 05 - Parameter binding conventions
  • 06 - Parameter binding attributes
  • 07 - HTTP verb attributes
  • 08 - Return values
  • 09 - Validating models
  • 10 - Using formats besides JSON

2. Routing

  • 11 - Routing table
  • 12 - Attribute routing
  • 13 - Customizing attribute routes

3. Data Serialization and Model Binding

  • 14 - Models and DTOs
  • 15 - CRUD operations with Entity Framework
  • 16 - Useful Json.NET settings
  • 17 - Reference LoopHandling in action

4. Error Handling

  • 18 - Using HttpResponseException
  • 19 - Using exception filters
  • 20 - Using exception loggers
  • 21 - Global exception handler

5. API Documentation and Testing

  • 22 - Documenting with help pages
  • 23 - Documenting with Swashbuckle and Swagger
  • 24 - API testing client Postman

6. Security

  • 25 - Authorize attribute
  • 26 - AllowAnonymous attribute
  • 27 - Setting user principal
  • 28 - Overview of JSON web tokens
  • 29 - JWT in action

Conclusion

  • 30 - Next steps

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal