You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SeedAsync method of the DistributedCacheIpPolicyStore and the DistributedCacheClientPolicyStore both call the SetAsync method of the DistributedCacheRateLimitStore with only the id and entry parameters set.
This means that the IDistributedCache's SetStringAsync method is called with the options (third) parameter set to null.
However, when using a DistributedSqlServerCache as the IDistributedCache, this null argument is propagated to the SetAsync method, where it throws an ArgumentNullException. In other words, seeding the policy store can never succeed when the distributed cache is an SQL Server cache.
The text was updated successfully, but these errors were encountered:
The
SeedAsync
method of theDistributedCacheIpPolicyStore
and theDistributedCacheClientPolicyStore
both call theSetAsync
method of theDistributedCacheRateLimitStore
with only theid
andentry
parameters set.This means that the
IDistributedCache
'sSetStringAsync
method is called with theoptions
(third) parameter set tonull
.However, when using a
DistributedSqlServerCache
as theIDistributedCache
, thisnull
argument is propagated to theSetAsync
method, where it throws anArgumentNullException
. In other words, seeding the policy store can never succeed when the distributed cache is an SQL Server cache.The text was updated successfully, but these errors were encountered: