FileSystemAbstraction provides a filesystem abstraction layer.
Inspired by Gaufrette (PHP) :
The filesystem abstraction layer permits you to develop your application without the need to know were all those medias will be stored and how.
Another advantage of this is the possibility to update the files location without any impact on the code apart from the definition of your filesystem. In example, if your project grows up very fast and if your server reaches its limits, you can easily move your medias in an Azure server or any other solution.
Install-Package FileSystemAbstraction -Version 1.1.3
dotnet add package FileSystemAbstraction --version 1.1.3
<PackageReference Include="FileSystemAbstraction" Version="1.1.3" />
paket add FileSystemAbstraction --version 1.1.3
Use the first scheme added as default if no default scheme provided.