TimeWarp.State.Middleware
11.0.0-beta.4
Prefix Reserved
See the version list below for details.
dotnet add package TimeWarp.State.Middleware --version 11.0.0-beta.4
NuGet\Install-Package TimeWarp.State.Middleware -Version 11.0.0-beta.4
<PackageReference Include="TimeWarp.State.Middleware" Version="11.0.0-beta.4" />
paket add TimeWarp.State.Middleware --version 11.0.0-beta.4
#r "nuget: TimeWarp.State.Middleware, 11.0.0-beta.4"
// Install TimeWarp.State.Middleware as a Cake Addin #addin nuget:?package=TimeWarp.State.Middleware&version=11.0.0-beta.4&prerelease // Install TimeWarp.State.Middleware as a Cake Tool #tool nuget:?package=TimeWarp.State.Middleware&version=11.0.0-beta.4&prerelease
TimeWarp.State.Middleware
TimeWarp.State.Middleware is a versatile extension of the Blazor-State library, designed to enhance state management in Blazor applications with a suite of middleware capabilities.
Available Middleware
- PersistentState
- Key Feature: Automates the persistence of state in browser storage.
- Usage: Annotate state classes with
[PersistentState]
to enable. - Storage Options: Supports both
LocalStorage
andSessionStorage
.
Example:
[PersistentState(PersistentStateMethod.LocalStorage)]
public partial class Counter2State : State<Counter2State>
{
// State implementation
}
Give a Star! ⭐
If you find this project useful, please give it a star. Thanks!
Getting Started
For a quick start, refer to the middleware section in the full Documentation.
Installation
dotnet add package TimeWarp.State.Middleware
Check out the latest NuGet packages on the TimeWarp NuGet page.
Releases
View the Release Notes for detailed information on each release.
UnLicense
This project is licensed under the Unlicense.
Contributing
Your contributions are welcome! Before starting any work, please open a discussion.
Help with the documentation is also greatly appreciated.
Contact
If you have an issue and don't receive a timely response, feel free to reach out on our Discord server.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net8.0
- Blazored.LocalStorage (>= 4.4.0)
- Blazored.SessionStorage (>= 2.4.0)
- Blazor-State (>= 11.0.0-beta.4)
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 |
---|---|---|
11.0.0-beta.5 | 54 | 2/21/2024 |
11.0.0-beta.4 | 47 | 1/31/2024 |
11.0.0-beta.3 | 44 | 1/31/2024 |
11.0.0-beta.2 | 49 | 1/30/2024 |