.NET cache providers supporting streaming?

Does anyone know of a cache provider for .NET that supports streaming data directly to / from a key rather than serializing / deserializing objects?

I was pretty hoping there would be an AppFabric (Velocity), but it seems to work only with objects like the ASP.NET built-in cache.

+3
source share
2 answers

NCache Enterprise is the only .NET cache provider I can find that supports streaming:

// Insert
using (var cacheStream = cache.GetCacheStream("mykey", StreamMode.Write))
    cacheStream.Write(...);

// Retrieve
using (var cacheStream = cache.GetCacheStream("mykey", StreamMode.Read))
    cacheStream.Read(...);
+1
source

You can easily implement this yourself in your WCF service (I assumed that this is what you wanted to do.)

, , , .

, , , , , , .

, , , , blob .

: WCF , , .

0

Source: https://habr.com/ru/post/1754227/


All Articles