AspNetCore.Docs/aspnetcore/security/gdpr/includes/gdpr35.md

1.3 KiB

:::moniker range=">= aspnetcore-3.0 < aspnetcore-6.0"

  • The project templates include extension points and stubbed markup that you can replace with your privacy and cookie use policy.
  • The Pages/Privacy.cshtml page or Views/Home/Privacy.cshtml view provides a page to detail your site's privacy policy.

To enable the default cookie consent feature like that found in the ASP.NET Core 2.2 templates in a current ASP.NET Core template generated app:

:::moniker-end