OptionA.Blazor.Storage
10.0.0
dotnet add package OptionA.Blazor.Storage --version 10.0.0
NuGet\Install-Package OptionA.Blazor.Storage -Version 10.0.0
<PackageReference Include="OptionA.Blazor.Storage" Version="10.0.0" />
<PackageVersion Include="OptionA.Blazor.Storage" Version="10.0.0" />
<PackageReference Include="OptionA.Blazor.Storage" />
paket add OptionA.Blazor.Storage --version 10.0.0
#r "nuget: OptionA.Blazor.Storage, 10.0.0"
#:package OptionA.Blazor.Storage@10.0.0
#addin nuget:?package=OptionA.Blazor.Storage&version=10.0.0
#tool nuget:?package=OptionA.Blazor.Storage&version=10.0.0
OptionA.Blazor.Storage
Services to access Local storage, session storage and indexed db (though indexed db is still a work in progress
For full documentation, releasenotes and examples, go to option-a.tech. To full source can be viewed on github.
Getting started
To start using the OptionA.Blazor.Storage include the required depencenies in your service provider. The package uses the default .Net Dependency Injection.
Service collection
To add the services you can use the extension method AddStorageService, AddDatabaseService or AddStorageServices.
Use package
Inject either the IStorageService, IDatabaseService or IFileSystem in your component and service.
Latest release notes
9.1.0
Overall
Added Filesystem sypport
New features
- Added IFilesystem implementation to interact with the file system
Solved Bugs
- None
Services
Following are the suppored services.
Storage service
IStorageService
Service for accessing local and session storage
Database service (WIP)
IDatabaseService
Service for accessing the local indexed database. Uses database migration to keep the indexed db up to date.
Filesystem service
IFilesystem
Service for accessing the file system. Uses the javascript Filesystem API to interact with the file system. Most interaction can only be done in the user initiated event (like pressing a button).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Microsoft.AspNetCore.Components.Web (>= 10.0.1)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.1)
- OptionA.Blazor.Storage.Contracts (>= 10.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0 | 217 | 12/24/2025 |
| 9.1.1 | 206 | 1/30/2025 |
| 9.1.0 | 188 | 1/29/2025 |
| 9.0.1 | 251 | 1/23/2025 |
| 9.0.0 | 295 | 11/27/2024 |
| 8.0.2 | 323 | 11/27/2024 |
| 8.0.1 | 251 | 10/21/2024 |
| 8.0.0 | 497 | 11/23/2023 |
| 7.0.4 | 487 | 10/14/2023 |
| 7.0.2 | 397 | 6/26/2023 |
| 7.0.1 | 242 | 6/22/2023 |
| 7.0.0 | 426 | 4/6/2023 |
| 1.0.2 | 350 | 2/24/2023 |
| 1.0.1 | 316 | 2/24/2023 |
| 1.0.0 | 338 | 2/24/2023 |
Upgraded to .NET 10