{"repo":"KristofferStrube/Blazor.FileSystemAccess","free":true,"listed":false,"github":"https://github.com/KristofferStrube/Blazor.FileSystemAccess","clone":"git clone https://github.com/KristofferStrube/Blazor.FileSystemAccess.git","description":"A Blazor wrapper for the File System Access browser API.","language":"C#","stars":373,"topics":["filesystemaccess","filesystemaccessapi","blazor","blazor-webassembly","github-actions","github-pages","editor","csharp","jsinterop","wrapper"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Introduction A Blazor wrapper for the browser API File System Access The API makes it possible to read and write to your local file system from the browser, both files and directories. Disclaimer: The API is supported on a limited set of browsers. Most notably not supported on Firefox, Chrome for Android, and iOS mobile browsers. Demo The sample project can be demoed at https://kristofferstrube.github.io/Blazor.FileSystemAccess/ On each page you can find the corresponding code for the example in the top right corner. On the main page you can see if the API has at least minimal support in the browser being used. On the Status page you can see how much of the WebIDL specs this wrapper has covered. Getting Started Prerequisites You need to install .NET 7.0 or newer to use the library. Download .NET 7 Installation You can install the package via NuGet with the Package Manager in your IDE or alternatively using the command line: Usage The package can be used in Blazor WebAssembly and Blazor Server projects. (Note that streaming of big files is not supported in Blazor Server due to bandwidth problems.) Import You also need to reference the package in order to use it in your pages. This can be done in Import.razor by adding the following. Add to service collection An easy way to make the service available in all your pages is by registering it in the IServiceCollection so that it can be dependency injected in the pages that need it. This is done in Program.cs by adding the following","default_branch":null,"files":null,"tree":[],"storefront":"/r/KristofferStrube","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KristofferStrube/Blazor.FileSystemAccess/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}