Where is the Increment method on the DataCache?
Asked Answered
A

1

1

I want to use the Increment method from the DataCache documentation but the method is not available on my DataCache object. Clearly I don't have the version of Microsoft.ApplicationServer.Caching.Client.dll that matches the documentation but I can't seem to figure out what version contains that method and where to get the assembly???

The version I have 1.0.4632.0

I am using the AppFabric for Windows 1.1.

Almetaalmighty answered 25/10, 2013 at 19:41 Comment(0)
S
1

This method is part of Azure and not Windows Server. AppFabric exists in two versions : one for Windows Server and one for Azure. There are only a few differences (here is one of them).

If you're targeting Azure, simply add the package Microsoft.WindowsAzure.Caching. You will find a detailed introduciton here.

It you're targeting Windows Server, do it by yourself !

Swords answered 28/10, 2013 at 7:53 Comment(1)
Actually, I figured this out late Friday and I implemented my own increment method already. :-)Almetaalmighty

© 2022 - 2024 — McMap. All rights reserved.