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

Why do I have multiple cache items in my AppFabric cache with the same key?

I have my website code on two servers and I want a shared cache between them, so I am using Microsoft AppFabric. I only ever want there to be one item in the cache -- not one item per site visitor, just one item total. The code I'm using to try to…
Kalina
  • 5,504
  • 16
  • 64
  • 101
2
votes
4 answers

App Fabric Cache as a Queue

I have an .net WCF service (hosted on IIS 7.5) that makes a high volume of calls to a SQL Server 2008 r2 stored procedure which inserts into several tables. The clients of this WCF service are used 24/7 although processing a lower volume of requests…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
2
votes
1 answer

Configure AppFabric Cache without listing servers in web.config

I am trying to understand how to properly configure AppFabric Caching on a web site. We are planning to use SQL Server as the cache manager and as far as I can understand the SQL will contain a list of the cache hosts in the cluster. However, when…
Sten
  • 1,079
  • 11
  • 25
2
votes
2 answers

What is the intended usage pattern for the AppFabric Cache GetAndLock(forceLock = true) method signature?

The documentation states: If forceLock is true, key is locked irrespective of key-value pair presence in cache. With no further explanation, e.g. what it means to have a lock on a key that is not in the cache and what the intended technique is…
redcalx
  • 8,177
  • 4
  • 56
  • 105
2
votes
1 answer

Does AppFabric Cache update the expiry time of cached items as they are retrieved?

When an item is put into the cache it has a timeout assigned to it (either explicitly by the call to Put(), or implied from the cache config). I want to update/reset expiry on each item I retrieve [call Get() on]. Do I need to explicitly put/update…
redcalx
  • 8,177
  • 4
  • 56
  • 105
2
votes
1 answer

AppFabric - Putting Data into Local Cache

I'm pretty new to AppFabric and what I'm trying to understand is how to stipulate that I want data to go into the Distributed cache as well as the Local Cache I read the post here which is doing this based on config. I am not using any XML config…
David
  • 1,203
  • 6
  • 25
  • 48
2
votes
1 answer

AppFabric 1.0 error Server collection cannot be empty

I am getting the following error when I run the simple Windows Server App Fabric 1.0 demo console application: ErrorCode:SubStatus:Server collection cannot be empty. Please help me.. What am I missing..?? I have looked every…
dotnet-practitioner
  • 13,968
  • 36
  • 127
  • 200
2
votes
2 answers

AppFabric cache client rejection

I have set up an AppFabric CacheServer on a webserver, in a different domain. When I try to access it I get the exception: The server has rejected the client credentials. InnerException: The logon attempt failed. I have tried …
Flatron
  • 687
  • 6
  • 18
1
vote
0 answers

Disabling Azure AppFabric Cache Asp.Net MVC

I am working on an upgrade for a website which was developed back in 2013. In the website, Azure AppFabric is used for caching. I hosted the site on my local IIS. When I navigate to the site, I get the following error: [SocketException (0x2af9): No…
Khizar Iqbal
  • 435
  • 2
  • 11
  • 18
1
vote
0 answers

Microsoft Appfabric configuration to SQL server

We are getting the below error when trying to Configure App fabric. We create a empty database Provide userID who is running the configuration sysadmin access on the sql server The last step in the configuration shows this error. Looks like the…
1
vote
1 answer

Can we use same sql database for multiple cache clusters in windows App Fabric?

We already have Windows AppFabric setup as a cluster for 15 servers and config store is set a SQl server. Now, I want to create a completely different/independent of existing cache cache host and servers in a new data center. Can I use the same sql…
PushCode
  • 1,419
  • 3
  • 15
  • 31
1
vote
3 answers

Moving and renaming AppFabric configuration database

Recently we did a move and a rename of an AppFabric configuration database. The rename was from default name "AppFabricConfigurationDatabase" to "AppFabricPreOrdersConfiguration" DistirbutedCacheService.exe.config was changed with the new database…
Serve Laurijssen
  • 9,266
  • 5
  • 45
  • 98
1
vote
0 answers

Handling AppFabric Cache Cluster Failure

What is the best way to handle a complete AppFabric meltdown, ie ALL cache-hosts go down? At the moment, my cache client access methods (ie put/get) are wrapped up in a try catch block with a null return on failure. Is this the right way to handle…
AQRH
  • 11
  • 1
1
vote
0 answers

AppFabric Cache Versioning

I have a custom object that I'm caching with AppFabric, and I changed a property name and failed to resolve that property's value with the new name. (How does AppFabric handle custom objects behind the scenes? Serialize to XML? Byte array?) Is there…
Cameron
  • 2,574
  • 22
  • 37
1
vote
0 answers

AppFabric simulate cache failure

Is there a way to simulate a Cache failure in AppFabric? I want to hit the AddFailureNotificationCallback delegate in my code, for testing purposes. Thanks
cdsln
  • 830
  • 1
  • 11
  • 33
1 2
3
10 11