Join Nate Barbettini for an in-depth discussion in this video Set up data protection, part of Deploying ASP.NET Core Applications.
- [Instructor] ASP dot net core…uses the data protection API, or DPAPI…to encrypt and store keys that are used for authentication…in your application.…When hosting your application with IAS, you'll need…to run a small script to create a registry hive…for these keys.…Otherwise, the keys will be regenerated…when you restart the application or your server…which will invalidate any user sessions or cookies…that were encrypted with the previous old keys.…To create a data protection registry hive,…you'll need a power shell script…that's provided by the ASP dot net core team.…
It's linked to from the ASP dot core net documentation.…It's hosted on github.…To download it, you'll have to click the raw button…on github to display the raw text of the script.…Then, right click and choose save as.…I'm going to try saving it to the desktop just to make it easy.…You'll need to put quotes around the file name…so that the extension is saved properly.…Then, click save.…Now that I have the script downloaded,…I need an administrator level power shell window…
- Setting up your ASP.NET project
- Setting up IIS
- Creating an IIS site and app pool
- Publishing your app with Visual Studio or the command line
- Deploying to Azure
- Deploying to Linux
- Deploying with Docker
Skill Level Intermediate
1. Get Started
2. Deploying to IIS
3. Deploying to Azure
Get started with Azure1m 4s
4. Deploying to Linux
5. Deploying with Docker
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.