AspNetCore.Docs/aspnetcore/security/data-protection/using-data-protection/samples
Emrebener e2f9312344
Added Web App Example For Using Data Protection Service (#28803)
* Rename protectunprotect.cs to consoleappexample.cs

renamed this code example to "consoleappexample", as I also added a seperate web app example.

* Create webappexample1.cs

"Program.cs" of the web app example, demonstrating data protection service usage

* Create webappexample2

dependancy injection demonstration for web app example, demonstrating data protection service usage

* Rename webappexample2 to webappexample2.cs

fixed file extension

* Update webappexample2.cs

extended the code to include using the service within an action method

* Update overview.md

Included my web app example in the text, while keeping the existing console application example.

* Update overview.md

un-renamed the existing file it to prevent any reference errors.

* Rename consoleappexample.cs to protectunprotect.cs

un-renamed this existing file to prevent any reference errors

* Apply suggestions from code review

* Update aspnetcore/security/data-protection/consumer-apis/overview.md

* Apply suggestions from code review

* Apply suggestions from code review

---------

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2023-04-26 15:21:50 -10:00
..
CustomXMLrepo/CustomXMLrepo Remove .min ref from all non-Blazor projects /2 (#26216) 2022-06-23 15:27:45 -10:00
protectunprotect.cs Add docfx content 2016-10-28 10:35:15 -07:00
webappexample1.cs Added Web App Example For Using Data Protection Service (#28803) 2023-04-26 15:21:50 -10:00
webappexample2.cs Added Web App Example For Using Data Protection Service (#28803) 2023-04-26 15:21:50 -10:00