"How to: Use Data Protection" code sample does not compile #42756
Labels
dotnet/svc
Pri1
High priority, do before Pri2 and Pri3
security-practices/subsvc
⌚ Not Triaged
Not triaged
Type of issue
Code doesn't work
Description
Hello there, i'm trying to run the code sample of the page but I got this kind of errors that prevent me to compile it :
I also had those :
But it has been solved by installing this package :
https://www.nuget.org/packages/System.Security.Cryptography.ProtectedData/
(If it is required to run the code it should be in the documentation as a first step, that's not the case here)
Well i cannot find out about the two first ones...
Page URL
https://learn.microsoft.com/en-us/dotnet/standard/security/how-to-use-data-protection
Content source URL
https://github.com/dotnet/docs/blob/main/docs/standard/security/how-to-use-data-protection.md
Document Version Independent Id
bbac5ee9-27f0-cf07-5891-32a3e9a0341b
Article author
@IEvangelist
Metadata
Related Issues
The text was updated successfully, but these errors were encountered: