This document discusses various topics related to building web APIs with ASP.NET Core such as project configuration, logging, database modeling, handling HTTP requests and responses, validation, asynchronous code, filtering, sorting, and more. It provides code examples and explanations for implementing common features in web APIs step-by-step.
This document discusses various topics related to building web APIs with ASP.NET Core such as project configuration, logging, database modeling, handling HTTP requests and responses, validation, asynchronous code, filtering, sorting, and more. It provides code examples and explanations for implementing common features in web APIs step-by-step.
13.1 Validation while Creating Resource ...................................................... 105
13.1.1 Validating Int Type ............................................................................109 13.2 Validation for PUT Requests ................................................................. 111
13.3 Validation for PATCH Requests ............................................................. 113
21.1 What is HATEOAS and Why is it so Important?..................................... 182 21.1.1 Typical Response with HATEOAS Implemented ......................................183 21.1.2 What is a Link?..................................................................................183 21.1.3 Pros/Cons of Implementing HATEOAS ..................................................184
21.2 Adding Links in the Project .................................................................. 184
21.4 Adding Custom Media Types ................................................................. 188
21.4.1 Registering Custom Media Types .........................................................189 21.4.2 Implementing a Media Type Validation Filter .........................................190
Ultimate Certified Kubernetes Administrator (CKA) Certification Guide: Become CKA Certified with Ease by Mastering Cluster Management and Orchestration with Kubernetes (English Edition)