manage-virtual-files

Installation
SKILL.md

Managing the ABP Virtual File System

The Virtual File System (VFS) lets you treat files that are embedded into assemblies (or otherwise not on disk) as if they were physical files at runtime. It's how reusable ABP modules ship their js/css/image and localization assets, and how an application overrides those assets without editing the module.

Package: Volo.Abp.VirtualFileSystem (AbpVirtualFileSystemModule). It usually comes pre-installed via the startup templates; otherwise abp add-package Volo.Abp.VirtualFileSystem + [DependsOn(typeof(AbpVirtualFileSystemModule))].

When to Use

  • Embedding js/css/image/localization assets into an assembly as Embedded Resources.
  • Registering an assembly's embedded files with AbpVirtualFileSystemOptions.FileSets.
  • Reading embedded files at runtime via IVirtualFileProvider.
  • Overriding an embedded file that a depended-on ABP module ships.
  • Live-editing a module's embedded files during development.

When Not to Use

  • Storing user-generated binary content (uploads, profile pictures, attachments) in a pluggable storage backend — use the store-blobs skill.
  • The resource/key/translation semantics of localization files — use the localize-applications skill (resources, json format, inheritance, culture fallback); menu display text lives in menus-and-localization. VFS only carries the files, not their meaning.
Installs
15
GitHub Stars
32
First Seen
Sep 6, 2026