AspNetCore.Docs
AspNetCore.Docs copied to clipboard
.NET 7: Add customizing the cookie consent value
Customize the cookie consent value
- https://github.com/dotnet/aspnetcore/issues/40164
- https://github.com/dotnet/aspnetcore/pull/40213
I'm not sure the best place to document this. Add links to where we document it to the following:
- What's new in ASP.NET Core 7.0 preview
- EU General Data Protection Regulation (GDPR) support in ASP.NET Core
- Use cookie authentication without ASP.NET Core Identity
- Work with SameSite cookies in ASP.NET Core
- Share authentication cookies among ASP.NET apps
@Tratcher please suggest the primary doc to add this information.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: ed83a5ff-cb3a-8655-9f9a-a441da52424e
- Version Independent ID: ed83a5ff-cb3a-8655-9f9a-a441da52424e
- Content: What's new in ASP.NET Core 7.0
- Content Source: aspnetcore/release-notes/aspnetcore-7.0.md
- Product: aspnet-core
- Technology: aspnetcore-releasenotes
- GitHub Login: @Rick-Anderson
- Microsoft Alias: riande
@daviddesmet can you suggest where this should be documented?
@Rick-Anderson I think it should be in EU General Data Protection Regulation (GDPR) support in ASP.NET Core since is related to the cookie consent.
There's a usage example in the issue https://github.com/dotnet/aspnetcore/issues/40164 I created which can be used as part of the documentation. I actually took part of the code from the GDPR docs to showcase the API usage.