Questions tagged [appfabric-cache]

AppFabric Cache is an in-memory distributed cache available on Azure or on Windows Server.

Microsoft Windows Server AppFabric, formerly codenamed “Velocity,” provides a distributed cache that you can integrate into both Web and desktop applications.

Some features :

  • Nuget Client package
  • Cache Notifications
  • Local cache
  • Concurrency Methods
  • Eviction & Expiration
  • High Availability
  • Encryption & Security features

More info

157 questions
3
votes
1 answer

Viewing the Contents of an AppFabric Cache

I just tested putting something in an AppFabric cache, and I'm struggling now with how to simply view the items in the cache. Surprisingly, google hasn't helped. In PowerShell, I can view the caches easily enough with get-cache. What PowerShell…
Bob Horn
  • 33,387
  • 34
  • 113
  • 219
3
votes
1 answer

AppFabric Syncing Local Caches

We have a very simple AppFabric setup where there are two clients -- lets call them Server A and Server B. Server A is also the lead cache host, and both Server A and B have a local cache enabled. We'd like to be able to make an update to an item…
jakejgordon
  • 4,008
  • 7
  • 36
  • 45
3
votes
1 answer

How to read all the items present in an Appfabric Cache:

I am trying to develop a tool (in Visual Studio 2010, C#) which can read all the items present in an Appfabric cache and store them in a Table. I don't have to use powershell. First I thought that If I can get all the regions present in the cache,…
apudxtr
  • 33
  • 1
  • 6
3
votes
1 answer

Get all named cache in appfabric

We have a cache server. On that we have created multiple named cache. Over the time we have created multiple named cache. Is there is any command which will return me all the named cache i have created? Thanks in advance.
vinay
  • 1,004
  • 1
  • 11
  • 27
3
votes
1 answer

How to increase the timeout when I have owned the cache lock in the AppFabric

Now I am trying to lock an item in the AppFabric Cache, and I want to hold the lock until my work is done, so I need to tell AppFabric don't let my lock be timeout when I have already owned the lock. My solution is to lock the the same item…
Leo Yao
  • 151
  • 5
3
votes
1 answer

Is it feasible to use a distributed cache for queryable data sets?

My scenario is as follows. I have a data table with a million rows of tuples (say first name and last name), and a client that needs to retrieve a small subset of rows whose first name or last name begins with the query string. Caching this seems…
McGarnagle
  • 101,349
  • 31
  • 229
  • 260
2
votes
0 answers

Appfabric issue with DataCacheFactory construction

after an upgrade to Visual Studio 2015 my AppFabric client hosted in a windows service does not start up anymore. An exception is thrown from the DataCacheFactory constructor when the service starts and the factory is encapsulated inside a Cache…
Serve Laurijssen
  • 9,266
  • 5
  • 45
  • 98
2
votes
1 answer

Local Cache and immutable objects - zero timeout

When using notification-based invalidation on Local Cache, the ttlValue time-out will still invalidate cache items and thus forcing a fetch from the cache cluster on the next request. For example, in the configuration below, items will time-out…
Dave New
  • 38,496
  • 59
  • 215
  • 394
2
votes
1 answer

In AppFabric, is there any reason that ALL cache hosts can't be lead hosts?

I understand from reading http://msdn.microsoft.com/en-us/library/ee790895(v=azure.10).aspx that the more lead hosts you have the better, because if the majority of lead hosts fail, the entire cache cluster shuts down. So is there any reason that…
Riller '-'
  • 51
  • 6
2
votes
1 answer

How clear App Fabric Cache one time a day?

I look for a configuration for clear cache each day at midnight. It is possible ? Or I need create a schedule task and clear in a code ?
Mediator
  • 14,951
  • 35
  • 113
  • 191
2
votes
0 answers

Failover for AppFabric Cache session state provider

Hey stackoverflow fans, I have a question about AppFabric cache. We have 3 AppFabric cache nodes configured as one cache cluster to achieve High Availability. We use it for sessions in Asp.Net applications. Builtin AppFabric cache session state…
Sergey Litvinov
  • 7,408
  • 5
  • 46
  • 67
2
votes
1 answer

Developing .net MVC3 application for caching using AppFabric 1.1

I am using windows server AppFabric 1.1 and want to use caching in asp.net MVC3 application. How can I start? I tried many of the online samples and it gave run time errors. Please help me with Sample applications or tutorial.
Nithin
  • 33
  • 8
2
votes
1 answer

Does AppFabric Cache compression cause data to be stored compressed on the server?

Does Windows Server AppFabric Cache compression cause data to be stored compressed or just transmitted compressed? Is it intended to just save network bandwidth or both bandwidth and server memory ? Note this is a Windows Server AppFabric question.
Craig Wilcox
  • 1,577
  • 1
  • 12
  • 23
2
votes
1 answer

Reading AppFabric contents throws Assembly exception

I'm using two named caches in AppFabric: CacheA is just pairs of [string,string], and isn't used in any special way CacheB is pairs of [string,object] (where object is a serializable type), and is used as the Session store for an ASP.NET MVC4…
DaveD
  • 2,196
  • 1
  • 23
  • 33
2
votes
1 answer

Deserializing the object of type System.Collections.ArrayList- AppFabric Cache Error

We have a web application which is storing frequently using data in cache memory.Earlier it was HttpRuntime Cache, but later migrated to AppFabric Cache. After the migration, it throws the following error while trying to add an object into Cache:…
Sunil
  • 2,885
  • 5
  • 34
  • 41
1
2
3
10 11