O'Reilly logo

ASP.NET Core Essentials by Shahed Chowdhuri

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Protecting your data

ASP.NET Core includes a new data protection system that can be used in web applications and console applications. You may recall that the list of templates for ASP.NET Core include a console application that we have not needed to use in previous chapters and shown in the following screenshot. However, this project type would be a great choice for illustrating framework features, such as the use of data protection in ASP.NET Core:

Protecting your data

The <machinekey> element was used in prior versions of ASP.NET, and the new data protection stack is intended to be its replacement. To make things easier, the new system encourages its use with minimal ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required