Commit Graph

4 Commits (9bac552349e83bc3374d3f90d7277c2882b7417b)

Author SHA1 Message Date
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
Rick Anderson 39b7df2ca8
Remove .min ref from all non-Blazor projects /2 (#26216) 2022-06-23 15:27:45 -10:00
Rick Anderson 4e9c9eef32
removes the clunky calls to GetService and hides IConfigureOptions<T> /8 data-protect-apis/ra (#22287)
* removes the clunky calls to GetService and hides IConfigureOptions<T>

* removes the clunky calls to GetService and hides IConfigureOptions<T>

* clean up

* clean up

* clean up

* clean up

* work

* work

* work

* respond to feedback
2021-05-25 09:44:00 -10:00
Daniel Roth e9c1419175 Add docfx content 2016-10-28 10:35:15 -07:00