* 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>
* Mention required nuget package in remote app doc
I can't find anywhere in the current docs where it says to install this package. Just using the sample code will yield `The name 'SystemWebAdapterConfiguration' does not exist in the current context`
* Apply suggestions from code review
---------
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
* chore : used the clear method
Signed-off-by: Samson Amaugo <sammychinedu2ky@gmail.com>
* Update aspnetcore/performance/ObjectPool/ObjectPoolSample8/BirthdayMiddleware.cs
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
* feat : implemented the IResettable and IPooledObjectPolicy
Signed-off-by: Samson Amaugo <sammychinedu2ky@gmail.com>
* return to the pool
* fix: set proper return object
* changed prop name
;
* created new buffer
* Update aspnetcore/performance/ObjectPool/ObjectPoolSample8/Program.cs
Co-authored-by: James Newton-King <james@newtonking.com>
* Update aspnetcore/performance/ObjectPool/ObjectPoolSample8/Program.cs
Co-authored-by: James Newton-King <james@newtonking.com>
* Update aspnetcore/performance/ObjectPool/ObjectPoolSample8/Program.cs
Co-authored-by: James Newton-King <james@newtonking.com>
* Update aspnetcore/performance/ObjectPool/ObjectPoolSample8/Program.cs
Co-authored-by: James Newton-King <james@newtonking.com>
* using spans
* changed route
* Update aspnetcore/performance/ObjectPool/ObjectPoolSample8/Program.cs
Co-authored-by: James Newton-King <james@newtonking.com>
---------
Signed-off-by: Samson Amaugo <sammychinedu2ky@gmail.com>
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
Co-authored-by: James Newton-King <james@newtonking.com>