ZIP文件&图片 [英] ZIP Files & Images

查看:103
本文介绍了ZIP文件&图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在AppFabric缓存中包含由Images和Plist组成的Zip文件吗?如果是这样,我需要配置的方式和内容是什么?

Can i have the Zip files which consists of Images and Plist in AppFabric cache? If so how and what the things i need to configure?

推荐答案

您好。您应该能够在Windows Server AppFabric缓存中存储任何可序列化的.NET对象。因此,如果您使用.NET进行编码,则只需要一个包含zip文件内容的可序列化对象。然后,您可以使用DataCache.Add
或DataCache.Put方法将此对象放入缓存中,并使用DataCache.Get方法使用相同的键值检索它。有关详细信息,请参阅
开发缓存客户端(Windows Server AppFabric缓存)

这是否回答了你的问题?

Hello. You should be able to store any serializable .NET object in a Windows Server AppFabric cache. So if you're coding in .NET, you would just need a serializable objects that contains the contents of the zip file. Then you can use the DataCache.Add or DataCache.Put methods to put this object in the cache and the DataCache.Get method to retrieve it using the same key value. For more information see Developing a Cache Client (Windows Server AppFabric Caching).

Does this answer your question?

谢谢。

Jason Roth

Jason Roth

这篇关于ZIP文件&图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆