Table of Contents

Enum PathType

Namespace
CMS.IO
Assembly
CMS.IO.dll

Defines the type of file system path for storage categorization.

public enum PathType
Extension Methods

Fields

LocalOnly = 2

Path should remain local to each application instance and should not be stored on slow shared storage. These paths serve as a quick file system cache that supports functionality on one particular instance and won't be used elsewhere.

Local storage provides faster access for caching scenarios where data can be regenerated if lost.

SharedPersistent = 0

Path contains data that must be shared across application instances and persisted long-term. These paths are typically mapped to durable shared storage (e.g., Azure Blob Storage) in cloud deployments.

SharedTemp = 1

Path contains temporary data that should be shared across application instances but can be deleted after use. These are supporting files for functionality that are used only temporarily during a specific process (e.g., content synchronization temp files). After the process completes, the files can be deleted.

Storage must be accessible across all web farm servers, but it does not need to be durable. For example, App Service file storage can be used instead of blob storage.