English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 18m | 392 MB
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.
Topics include:
- 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
Table of Contents
Introduction
1 The power of Web APIs
2 What you should know
3 Technical specifics and setup
Controllers and Actions
4 Convention-based routing
5 Parameter binding conventions
6 Parameter binding attributes
7 HTTP verb attributes
8 Return values
9 Validating models
10 Using formats besides JSON
Routing
11 Routing table
12 Attribute routing
13 Customizing attribute routes
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
Error Handling
18 Using HttpResponseException
19 Using exception filters
20 Using exception loggers
21 Global exception handler
API Documentation and Testing
22 Documenting with help pages
23 Documenting with Swashbuckle and Swagger
24 API testing client Postman
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
Resolve the captcha to access the links!