Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
Added section on ASP.NET Core distributed caching (#4373)
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Wildgruber committed May 7, 2020
1 parent 19540d4 commit f2c6ae6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/topics/deployment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,15 @@ ASP.NET Core itself needs shared key material for protecting sensitive data like
See the official docs `here <https://docs.microsoft.com/en-us/aspnet/core/security/data-protection/>`_.

You can either re-use one of the above persistence store or use something simple like a shared file if possible.

ASP.NET Core distributed caching
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Some components rely on ASP.NET Core distributed caching. In order to work in a multi server environment, this needs to be set up correctly.
The `official docs <https://docs.microsoft.com/en-us/aspnet/core/performance/caching/distributed/>`_ describe several options.

The following components rely on ``IDistributedCache``:

* ``services.AddOidcStateDataFormatterCache()`` configures the OpenIdConnect handlers to persist the state parameter into the server-side ``IDistributedCache``.
* ``DefaultReplayCache``
* ``DistributedDeviceFlowThrottlingService``
* ``DistributedCacheAuthorizationParametersMessageStore``

0 comments on commit f2c6ae6

Please sign in to comment.