• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class FileProvider

FileProvider implements the OutputCachingProvider for file storage.

Inheritance
System.Object
OutputCachingProvider
FileProvider
Inherited Members
OutputCachingProvider.GetProviderList()
OutputCachingProvider.Instance(String)
OutputCachingProvider.RemoveItemFromAllProviders(Int32)
OutputCachingProvider.GenerateCacheKey(Int32, StringCollection, StringCollection, SortedDictionary<String, String>)
OutputCachingProvider.ByteArrayToString(Byte[])
OutputCachingProvider.GenerateCacheKeyHash(Int32, String)
OutputCachingProvider.WriteStreamAsText(HttpContext, Stream, Int64, Int64)
Namespace: DotNetNuke.Services.OutputCache.Providers
Assembly: DotNetNuke.dll
Syntax
public class FileProvider : OutputCachingProvider

Fields

| Improve this Doc View Source

AttribFileExtension

FileProvider implements the OutputCachingProvider for file storage.

Declaration
public const string AttribFileExtension = null
Field Value
Type Description
System.String
| Improve this Doc View Source

DataFileExtension

FileProvider implements the OutputCachingProvider for file storage.

Declaration
public const string DataFileExtension = null
Field Value
Type Description
System.String
| Improve this Doc View Source

TempFileExtension

FileProvider implements the OutputCachingProvider for file storage.

Declaration
public const string TempFileExtension = null
Field Value
Type Description
System.String

Methods

| Improve this Doc View Source

GetItemCount(Int32)

FileProvider implements the OutputCachingProvider for file storage.

Declaration
public override int GetItemCount(int tabId)
Parameters
Type Name Description
System.Int32 tabId
Returns
Type Description
System.Int32
Overrides
OutputCachingProvider.GetItemCount(Int32)
| Improve this Doc View Source

GetOutput(Int32, String)

FileProvider implements the OutputCachingProvider for file storage.

Declaration
public override byte[] GetOutput(int tabId, string cacheKey)
Parameters
Type Name Description
System.Int32 tabId
System.String cacheKey
Returns
Type Description
System.Byte[]
Overrides
OutputCachingProvider.GetOutput(Int32, String)
| Improve this Doc View Source

GetResponseFilter(Int32, Int32, Stream, String, TimeSpan)

FileProvider implements the OutputCachingProvider for file storage.

Declaration
public override OutputCacheResponseFilter GetResponseFilter(int tabId, int maxVaryByCount, Stream responseFilter, string cacheKey, TimeSpan cacheDuration)
Parameters
Type Name Description
System.Int32 tabId
System.Int32 maxVaryByCount
Stream responseFilter
System.String cacheKey
TimeSpan cacheDuration
Returns
Type Description
OutputCacheResponseFilter
Overrides
OutputCachingProvider.GetResponseFilter(Int32, Int32, Stream, String, TimeSpan)
| Improve this Doc View Source

PurgeCache(Int32)

FileProvider implements the OutputCachingProvider for file storage.

Declaration
public override void PurgeCache(int portalId)
Parameters
Type Name Description
System.Int32 portalId
Overrides
OutputCachingProvider.PurgeCache(Int32)
| Improve this Doc View Source

PurgeExpiredItems(Int32)

FileProvider implements the OutputCachingProvider for file storage.

Declaration
public override void PurgeExpiredItems(int portalId)
Parameters
Type Name Description
System.Int32 portalId
Overrides
OutputCachingProvider.PurgeExpiredItems(Int32)
| Improve this Doc View Source

Remove(Int32)

FileProvider implements the OutputCachingProvider for file storage.

Declaration
public override void Remove(int tabId)
Parameters
Type Name Description
System.Int32 tabId
Overrides
OutputCachingProvider.Remove(Int32)
| Improve this Doc View Source

SetOutput(Int32, String, TimeSpan, Byte[])

FileProvider implements the OutputCachingProvider for file storage.

Declaration
public override void SetOutput(int tabId, string cacheKey, TimeSpan duration, byte[] output)
Parameters
Type Name Description
System.Int32 tabId
System.String cacheKey
TimeSpan duration
System.Byte[] output
Overrides
OutputCachingProvider.SetOutput(Int32, String, TimeSpan, Byte[])
| Improve this Doc View Source

StreamOutput(Int32, String, HttpContext)

FileProvider implements the OutputCachingProvider for file storage.

Declaration
public override bool StreamOutput(int tabId, string cacheKey, HttpContext context)
Parameters
Type Name Description
System.Int32 tabId
System.String cacheKey
HttpContext context
Returns
Type Description
System.Boolean
Overrides
OutputCachingProvider.StreamOutput(Int32, String, HttpContext)

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS