© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
A. GirettiCoding Clean, Reliable, and Safe REST APIs with ASP.NET Core 8https://doi.org/10.1007/978-1-4842-9979-1_4

4. Basics of Clean REST APIs

Anthony Giretti1  
(1)
La Salle, QC, Canada
 
You’re looking forward to developing APIs! Here we are. Let’s look at the most basic operations with minimal APIs in ASP.NET Core 8. These are the most common features; you’ll use them in every API you develop. First, you’ll need to expose comprehensible URIs, validate the parameters sent by the API consumer, and do object mapping, that is, transform your objects into other objects specific to the application domain. You’ll also need to manage the correct HTTP status codes ...

Get Coding Clean, Reliable, and Safe REST APIs with ASP.NET Core 8: Develop Robust Minimal APIs with .NET 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.