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.
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(...);
You can easily implement this yourself in your WCF service (I assumed that this is what you wanted to do.)
, , , .
, , , , , , .
, , , , blob .
: WCF , , .
Source: https://habr.com/ru/post/1754227/More articles:How to find out all installed fonts on a user computer? - javascriptSetWindowsHookEx с WH_MOUSE_LL замедляет работу мыши в течение нескольких секунд - c#Переносимое создание файлов в файлах - cross-platformSql extrusion plan shows different results for the same input - sqlOrdering a WITH RECURSIVE query in Postgres - sqlArray Clone Bytes 10-40? - c #Latex: the text should automatically fill the frame in the slides Beamer - latexHaskell compiles dll - dllHandling menu events in cocoa - cocoaLINQ for Entities - Best Practices for Passing Models - design-patternsAll Articles