Table of Contents

Interface IAppCacheKeyService

Namespace
ToSic.Eav.Apps.Sys
Assembly
ToSic.Eav.Apps.dll

Service to build cache keys for apps.

[InternalApi_DoNotUse_MayChangeWithoutNotice("Runtime key is platform-specific.")]
public interface IAppCacheKeyService

Remarks

Since platforms like Oqtane have different mechanisms for splitting apps/tenants, the cache key could collide since it could result in the same AppId being used in different tenants. This service allows to build a runtime-specific key for an app identity.

Methods

AppCacheKey(IAppIdentity)

Build a runtime-specific key for an app identity.

string AppCacheKey(IAppIdentity appIdentity)

Parameters

appIdentity IAppIdentity

Returns

string