On May-25th, General Data Protection Regulation (GDPR) becomes active. With that many articles available on GDPR, I need to write one as well. However, this one is about ASP.NET Core. ASP.NET Core 2.1 includes built-in support to fulfill some GDPR requirements.
The ASP.NET Core 2.1 project template not only includes a privacy page, but also allows registered users to easily delete themselves, and to get all the information stored about the user.
Creating and Running the Project
All you need to do to get this support is to create a new ASP.NET Core 2.1 project and configure authentication to store user accounts in-app.
This creates a project with a privacy page (Views/Home/Privacy.cshtml) which needs to be filled with your content.
After creating the database with EF Core Migrations, the user can register, and after registration manage the account.
Using the Account Management, the user can download and delete all personal…