Azure Redis Cache is based on the popular open-source Redis cache. It gives you access to a secure, dedicated Redis cache, managed by Microsoft and accessible from any application within Azure.
Questions tagged [azure-redis-cache]
347 questions
0
votes
0 answers
C# Azure Redis Cache StringGetAsync different behavior in different .NET version
my Web API is using Azure Redis Cache with NuGet version 2.6.66. and connection string set as{account}.redis.cache.windows.net,ssl=True,password={pwd},abortConnect=false
and reading cached data as
WrappedConnectionMultiplexer…

user9297554
- 347
- 4
- 17
0
votes
1 answer
Azure API Management external Azure redis cache, cache miss when key set outside APIM
I have an Azure APIM that interacts with an external Azure Redis Cache. No matter how I set keys, via the console/cli or via the .NET SDK, APIM reports a cache miss in the trace. Example code below:

theblindprophet
- 7,767
- 5
- 37
- 55
0
votes
0 answers
How to perform Lua script in Azure Devops pipeline to connect to azure redic cache
I am trying to connect to my azure redis cache from a azure devops pipeline using azure cli & powershell.
I want to run this lua script on redis cli - but I am having no luck getting there.
It always keeps saying redis-cli not found and we are…
0
votes
1 answer
APIM not clearing the cache after specified duration
I am trying to write a cache store policy onto my apim. But for some reason, the cache is not clearing or dropped after the mentioned duration.
Below is my code snippet.
Code snip
I have a header with bearer token authorization and query parameter…
0
votes
1 answer
Does the Azure.ResourceManager.Redis package support ACL role management?
Does the Azure.ResourceManager.Redis package support ACL role management? Within the Azure portal UI, this a preview feature, so I am not sure if it has been implemented within the SDK package. Can someone else confirm this?
Azure Portal shows…

Rajesh Patel
- 1
- 2
0
votes
1 answer
What steps can I take to fix a StackExchange.Redis timeout error with the HMGET command on Azure Redis cache?
{"Message":"Timeout awaiting response (outbound=0KiB, inbound=0KiB, 5996ms elapsed, timeout is 5000ms), command=HMGET, next: HMGET MasterMYS_PrivilegeMaster, inst: 0, qu: 0, qs: 3, aw: False, rs: ReadAsync, ws: Idle, in: 334900, serverEndpoint:…

Deepa Pimple
- 1
- 1
0
votes
1 answer
How to get azure cache for Redis connection string stored in app service as Appsetting variable
I have created a azure redis for cache and stored the connection string as application setting variable in app service using terraform. Now I want my code to access the connection string. In the existing application we explictly mentioned the…

devram
- 105
- 2
- 11
0
votes
1 answer
How to deal with failover and stale data when using Azure Redis cache
I started using distributed Azure Redis cache in my project.
Here is my startup config:
if (cacheEnvironmentLocal.HasValue && cacheEnvironmentLocal.Value)
{
services.AddDistributedMemoryCache();
}
…

Birtija
- 87
- 3
- 10
0
votes
1 answer
ASP.NET session state redis cache with keyvault
May I know How to use keyvault to retrieve the access key

jay
- 1,055
- 3
- 15
- 35
0
votes
0 answers
How to extend LazyCache with Redis Cache for asp.net core 3.1 application?
I have asp.net core 3.1 web api project which leverages Azure SQL database as its data storage option. At present I am also using Azure Redis Cache to improve performance of the application.
Here goes the code details :
ICacheProvider.cs:
public…

santosh kumar patro
- 7,231
- 22
- 71
- 143
0
votes
2 answers
APIM - cache request with authorization header for all users (not per user)
I have a backend API service that requires bearer-token authorization, and it is fronted by Azure API Management. One particular endpoint returns a large dataset (at least 3MB in size) but the endpoint has no parameters so any given response is…

bosco
- 457
- 1
- 5
- 14
0
votes
1 answer
How to know redis cache expired or not
A user has multiple accounts and when the user selects a particular account, the date should be updated in table. The condition is like, the date should be updated only when the redis cache expires. If the account data comes from redis cache the…

Sai
- 1
- 1
0
votes
1 answer
Why I am getting connection error between Azure Redis and spring boot?
I want to connect to Azure Redis from you spring boot application. But I am getting connections error io.lettuce.core.RedisException: Cannot obtain initial Redis Cluster topology and if I see detailed message I can see Cannot retrieve cluster…

Dasun
- 602
- 1
- 11
- 34
0
votes
0 answers
Redis Connection Failed
So I have a redis code like this
public class RedisConnectorHelper
{
static RedisConnectorHelper()
{
RedisConnectorHelper.lazyConnection = new Lazy(() =>
{
…

seventhball
- 33
- 4
0
votes
1 answer
Azure Redis Cache GET throughput per client connection
https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-planning-faq The document mentions the Throughput numbers for GETS. But there are multiple client connections possible and there is also a limit based on the Pricing tier.
Question:…

hsingh
- 661
- 5
- 26