© 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_6

6. Accessing Data Safely and Efficiently

Anthony Giretti1  
(1)
La Salle, QC, Canada
 
So far, we have run into ASP.NET Core functionalities but haven’t yet discussed what’s behind the scenes. What’s going on behind the scenes? Generally, we access data from multiple sources. We usually access data from a SQL database or via HTTP by calling another remote API. In this chapter, I will teach you how to access data safely and efficiently. In this chapter, you will learn the following:
  • Introduction to data access best practices

  • Accessing data with ...

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.