Pagination lets an API return a portion of a collection instead of every result. A client can request a size with `take` and a starting offset with `skip`; web APIs may also use page numbers or cursors. section 3.1.1
Listing 3.12 Adding skip parameter to all-fonts query
app.MapGet("/",
(int? skip, int? take) => #1
AsciiArt.AllFonts.Value
.Skip(skip ?? 0) #2
.Take(take ?? 100)); #3
This ASP.NET Core endpoint applies LINQ `Skip` before `Take`. Nullable query parameters default to an offset of 0 and a page size of 100. section 3.1.1
Request a page
Request `/?skip=100&take=10` to retrieve up to ten font names starting after the first hundred. Test unusual values too: values that cannot be converted to integers produce an HTTP 500 response in this implementation. section 3.1.1










