Axuno.VirtualFileSystem
2.2.0
dotnet add package Axuno.VirtualFileSystem --version 2.2.0
NuGet\Install-Package Axuno.VirtualFileSystem -Version 2.2.0
<PackageReference Include="Axuno.VirtualFileSystem" Version="2.2.0" />
<PackageVersion Include="Axuno.VirtualFileSystem" Version="2.2.0" />
<PackageReference Include="Axuno.VirtualFileSystem" />
paket add Axuno.VirtualFileSystem --version 2.2.0
#r "nuget: Axuno.VirtualFileSystem, 2.2.0"
#addin nuget:?package=Axuno.VirtualFileSystem&version=2.2.0
#tool nuget:?package=Axuno.VirtualFileSystem&version=2.2.0
Axuno.VirtualFileSystem
The Virtual File System makes it possible to manage files that do not exist on a physical file system (e.g. disk).
- The
VirtualFileSystem
can be extended by additionalIVirtualFileProvider
s. - Out-of-the-box,
Microsoft.Extensions.FileProviders.Composite
,Microsoft.Extensions.FileProviders.Embedded
andMicrosoft.Extensions.FileProviders.Physical
are integrated. - Virtual files can be used just like static files in an application.
- JavaScript, CSS, image files and all other file types can be embedded into assemblies and used just like the static files.
- An application (or library) can override an embedded file just by placing a static file with the same name and extension into the same folder of the virtual file system.
The library is a modified version of Volo.Abp.VirtualFileSystem 7.0 Modifications to the source code were made by axuno in 2020-23. Changes focused on:
- Decouple Volo.Abp.VirtualFileSystem from all dependencies of the Abp Framework
- Use Microsoft DependencyInjection instead of AutoFac
- Add a workaround, so that
VirtualFileProvider
will also find existing directories returned fromPhysicalFileProvider
. This means, thatVirtualFileProvider
behaves the same, never mind whether files are retrieved usingEmbeddedFileProvider
orPhysicalFileProvider
. - Change of namespaces
Get started
Install the NuGet package
- Read the Virtual File System wiki
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.Extensions.FileProviders.Composite (>= 9.0.6)
- Microsoft.Extensions.FileProviders.Embedded (>= 9.0.6)
- Microsoft.Extensions.FileProviders.Physical (>= 9.0.6)
- Microsoft.Extensions.Options (>= 9.0.6)
-
net6.0
- Microsoft.Extensions.FileProviders.Composite (>= 9.0.6)
- Microsoft.Extensions.FileProviders.Embedded (>= 9.0.6)
- Microsoft.Extensions.FileProviders.Physical (>= 9.0.6)
- Microsoft.Extensions.Options (>= 9.0.6)
-
net8.0
- Microsoft.Extensions.FileProviders.Composite (>= 9.0.6)
- Microsoft.Extensions.FileProviders.Embedded (>= 9.0.6)
- Microsoft.Extensions.FileProviders.Physical (>= 9.0.6)
- Microsoft.Extensions.Options (>= 9.0.6)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Axuno.VirtualFileSystem:
Package | Downloads |
---|---|
Axuno.TextTemplating
Text templating is used to dynamically render contents based on a template and a model. * It is based on the Scriban library, so it supports conditional logics, loops and much more. * Template content can be localized. * You can define layout templates to be used as the layout while rendering other templates. * You can pass arbitrary objects to the template context (beside the model) for advanced scenarios. The library is a modified version of the lightweight TextTemplating.Scriban part of Volo.Abp.TextTemplating 7.0 (i.e., exluding the more heavy TextTemplating.Razor). |
GitHub repositories
This package is not used by any popular GitHub repositories.