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
0
votes
1 answer

Does PutAndUnlock on DataCache without supplying tags remove existing tags for that item?

My scenario is that I have an item in the cache with several existing tags. I want to update the item using the PutAndUnlock method. Do I need to first retrieve any existing tags and pass them to the PutAndUnlock method to preserve them? Related to…
Jim
  • 4,910
  • 4
  • 32
  • 50
0
votes
1 answer

AppFabric crash when getting request from IIS website with ApplicationPoolIdentity identity

I deployed a WCF in IIS7. I'm using AppFabric to cache some values. Everything work fine if I use NetWork identity( all items set into cache and get from cache successful). However, when I choose pool identity is ApplicationPoolIdentity, My…
Chinh Phan
  • 1,459
  • 19
  • 22
0
votes
1 answer

AppFabric Client version mismatch

I want to be able to use AppFabric Distibuted Cache. I'm getting the following error: ErrorCode:SubStatus:Check the client version. It should be within the allowed version range on the server. If necessary, upgrade the client to the allowed…
kubal5003
  • 7,186
  • 8
  • 52
  • 90
0
votes
1 answer

AppFabric Distributed Cache Configuration

I would like my ASP.NET application to use AppFabric Distributed Cache instead of In memory cache. I have a class CacheService that uses CacheFactory from EnterpriseLibrary Caching: ICacheManager manager = …
kubal5003
  • 7,186
  • 8
  • 52
  • 90
0
votes
1 answer

What is the best way to manage the DataCacheFactory object in a web application?

It says it is the best practice to instantiate one single instance of DataCacheFactory object per execution thread. I am implementing AppFabric caching in a web asp.net application.
dexter
  • 7,063
  • 9
  • 54
  • 71
0
votes
1 answer

AppFabric LocalCache - Least Used Eviction

If I am caching something in local cache and using it on a regular basis does the distributed cache know that the local cache is using it? The reason I ask this is because the distributed cache has a Least Used Eviction policy. If I am not using it…
David
  • 1,203
  • 6
  • 25
  • 48
0
votes
1 answer

NHibernate.Caches.AppFabric nuget package unable to establish connection with Azure AppFabric Caching SErvice

NHibernate.Caches.Appfabric nuget package for using Azure AppFabric Caching service as the second level cache for NHibernate was working fine with V 1.8 of the Azure SDK. However after upgrading to VS 2012 and version 2.0 of the Azure SDK the nuget…
Rohit Gupta
  • 604
  • 2
  • 6
  • 15
0
votes
0 answers

AppFabric Cache Crashes

The Scenario: Have written a back end service that periodically checks for new rows in database and inserts it into AppFabric Cache. We have been using this approach since 2 odd months. We are using a server machine to store data into cache in…
Ravi Sankar Rao
  • 1,050
  • 11
  • 26
0
votes
1 answer

AppFabric: DataCache.Remove always fails

I'm writing code to remove a cache entry from non-Azure AppFabric (v1.1). In the code snippet below, DataCache.Remove is always returning false... object bogusData = new object(); _cache.Put(account, bogusData,…
Tony
  • 1,986
  • 2
  • 25
  • 36
0
votes
1 answer

Is there really no bulk insert in the AppFabric Cache 1.1 API?

I'm looking at the API and I don't see any way to send a collection of individual objects to cache at the same time. Given that latency can be a significant issue wouldn't bulk insert afford the possibility of huge performance gains under certain…
Craig Wilcox
  • 1,577
  • 1
  • 12
  • 23
0
votes
2 answers

Server Collection cannot be empty - Windows Server AppFabric 1.1

I get this error when i use multiple dataCacheClients. Ive seen this question and this msdn question but at the time of AppFabric 1.0, multiple dataCacheClients were not possible. Microsoft added this feature in AppFabric 1.1 (see changelog), which…
krishwader
  • 11,341
  • 1
  • 34
  • 51
0
votes
1 answer

Could i use a dedicated (separate) cluster for appfabric session storage?

We don't want to use the caching cluster for this because as of now, we're facing some stability issues on the cache clusters so they're on constant maintenance (completely our fault). Could we use a dedicated cluster for session storage? (forget…
krishwader
  • 11,341
  • 1
  • 34
  • 51
0
votes
1 answer

Update-CacheHostAllowedVersions AppFabric cache admin command 'missing'

Trying to run Update-CacheHostAllowedVersions But get the following error msg: The term 'Update-CacheHostAllowedVersions' is not recognized as the name of a c mdlet, function, script file, or operable program. Check the spelling of the na me, or if…
Craig Wilcox
  • 1,577
  • 1
  • 12
  • 23
0
votes
2 answers

App Domain Refresh Solution: AppFabric, how is the performance

We currently are facing problems due to high amount of cached objects. We cache Data from an ERP system (for an Online Shop) and IIS will refresh the webpage as it reaches the maximum amount of memory and we loose all cashed objects. As this makes…
Kevin Boss
  • 145
  • 12
0
votes
1 answer

Getting "Access denied while saving the changes to cluster configuration file" when configuring appfabric caching service

I'm stuck in this one... I'm trying to configure the first node for a cache cluster using appfabric. My architecture will be: 4 Cluster Nodes All machines are inside a domain The configuration XML file will be in a NAS folder I've created a domain…
stealth
  • 16
  • 1