Beispiel #1
0
        public static void Delete(string key)
        {
            try
            {
                //clear out of mem cache
                ObjectCache.RemoveItem(key);

                //delete file
                FileCache.RemoveItem(key);

                //delete azure blob
                Azure.RemoveItem(key);

                //TODO: AmazonS3.RemoveItem(key);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }