© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
A. FreemanPro ASP.NET Core 6https://doi.org/10.1007/978-1-4842-7957-1_16

16. Using the Platform Features, Part 2

Adam Freeman1  
(1)
London, UK
 
In this chapter, I continue to describe the basic features provided by the ASP.NET Core platform. I explain how cookies are used and how the user’s consent for tracking cookies is managed. I describe how sessions provide a robust alternative to basic cookies, how to use and enforce HTTPS requests, how to deal with errors, and how to filter requests based on the Host header. Table 16-1 summarizes the chapter.
Table 16-1

Chapter Summary

Problem

Solution

Listing

Using cookies

Use the context objects to read and write cookies. ...

Get Pro ASP.NET Core 6: Develop Cloud-Ready Web Applications Using MVC, Blazor, and Razor Pages 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.