Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to implement custom binary storage configuration

$
0
0

This example demonstrates how to implement different storage strategies for the DevExpress control's binary images.

The FileCacheStrategy scenario implies the use of a specific folder on the server for storing the ASPxGauge's binary images. Changing the control's value causes generating its new image, which is stored into a specified folder. Cache is cleared every 10 minutes. Each image can be obtained by using its recourse key.

The StaticImageStrategy scenario implements storing the ASPxGridView binary data (a specific column with binary images) into a public folder within an application. Each image within the folder has its own static URL. In this scenario, cache is cleared every 60 minutes.

See Also:
Binary Storage Configuration

Question Comments

Added By: NIKOLAY SONIN at: 7/25/2015 2:08:06 AM    

Hi,

I'm trying to use DevExpress in Sharepoint 2013 and would like to know how and where to  place a call to  BinaryStorageConfigurator.RegisterCustomStorageStrategy()? Obviously, I have no access to Global.asax in SP.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>