Skip to content

AkavacheBuilderExtensions.WithV10FileNames(IAkavacheBuilder) method

Defined in

Type: AkavacheBuilderExtensions Namespace: Akavache.V10toV11 Assembly: Akavache.V10toV11.dll

Applies to

net10.0, net10.0-tvos26.0, net10.0-maccatalyst26.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net10.0-macos26.0, net10.0-windows10.0.19041, net10.0-ios26.0, net10.0-android36.0, net9.0, net9.0-windows10.0.19041, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-macos14.2, net8.0-maccatalyst17.5, net8.0-ios17.5, net8.0-tvos17.2, net8.0-windows10.0.19041, net8.0-macos14.5, netstandard2.1, net481, net462, net471

public static IAkavacheBuilder WithV10FileNames(this IAkavacheBuilder builder)

View source

Summary: Configures the builder to use V10-era database filenames (blobs.db, userblobs.db, secret.db) at the legacy directory locations. This allows V11 to find and read existing V10 databases in-place. New writes will use the V11 CacheEntry table within the same database file, while old data in the V10 CacheElement table is read transparently via the built-in legacy shim.

Parameters

NameTypeDescription
builder[IAkavacheBuilder](#The Akavache builder to configure.

Returns: IAkavacheBuilder -- The builder instance for fluent configuration.

Exceptions

TypeCondition
System.ArgumentNullExceptionThrown when builder is null.
System.InvalidOperationExceptionThrown when no serializer has been registered.