Skip to content

BlobCache class

Attributes: [RequiresUnreferencedCode("Registrations for Akavache.Core")] [RequiresDynamicCode("Registrations for Akavache.Core")]

Defined in

Namespace: Akavache Assembly: Akavache.Core.dll Full name: Akavache.BlobCache Modifiers: public static

Summary

View source

        A class which represents a blobbed cache.
        

Applies to

net9.0, net9.0-maccatalyst18.0, net9.0-macos15.0, net9.0-tvos18.0, net9.0-android35.0, net9.0-ios18.0, net8.0, net8.0-android34.0, net8.0-macos14.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-tvos17.2, netstandard2.1, netstandard2.0

Properties

NameSummary
static ApplicationNameGets or sets your application's name. Set this at startup, this defines where your data will be stored (usually at %AppData%[ApplicationName]).
static LocalMachineGets or sets the local machine cache. Store data here that is unrelated to the user account or shouldn't be uploaded to other machines (i.e. image cache data).
static UserAccountGets or sets the user account cache. Store data here that is associated with the user; in large organizations, this data will be synced to all machines via NT Roaming...
static SecureGets or sets an IBlobCache that is encrypted - store sensitive data in this cache such as login information.
static InMemoryGets or sets an IBlobCache that simply stores data in memory. Data stored in this cache will be lost when the application restarts.
static ForcedDateTimeKindGets or sets the DateTimeKind handling for BSON readers to be forced.
static TaskpoolSchedulerGets or sets the Scheduler used for task pools.

Methods

NameSummary
static EnsureInitializedMakes sure that the system has been initialized.
static ShutdownThis method shuts down all of the blob caches. Make sure call it on app exit and await / Wait() on it.
Inherited members