BitzArt.Blazor.Cookies 1.0.3

Tests

NuGet version NuGet downloads

Overview

BitzArt.Blazor.Cookies is a nuget package that simplifies working with browser cookies in Blazor applications.

You can use cookies in your Blazor applications as a way to store user's unique information, such as preferences, settings, or session / authentication data.

  • Built for dotnet 8+
  • Supports all Blazor United render modes
  • Supports Blazor prerendering
Blazor Rendermode Support
Static SSR ✔️
Interactive Server ✔️
Interactive WebAssembly ✔️
Interactive Auto ✔️

Installation

  • Install the following package in your Blazor Server project:
dotnet add package BitzArt.Blazor.Cookies.Server
  • Add this line to your Server project program.cs:
builder.AddBlazorCookies();
  • Install the following package in your Blazor Client project:
dotnet add package BitzArt.Blazor.Cookies.Client
  • Add this line to your Client project program.cs:
builder.AddBlazorCookies();

Usage

  • Inject ICookieService in any of your Services / Blazor Components
  • Use ICookieService to interact with user's cookies.

License

License

No packages depend on BitzArt.Blazor.Cookies.

Version Downloads Last updated
1.5.2 4 23.03.2026
1.5.1 6 06.10.2025
1.5.0 9 04.06.2025
1.5.0-prerelease 9 04.06.2025
1.4.0 9 04.06.2025
1.3.0 11 05.05.2025
1.2.0 9 04.06.2025
1.1.4 9 04.06.2025
1.1.3 10 04.06.2025
1.1.2 9 04.06.2025
1.1.1 9 04.06.2025
1.1.0 9 04.06.2025
1.0.5 9 04.06.2025
1.0.4 9 04.06.2025
1.0.3 9 04.06.2025
1.0.2 9 04.06.2025
1.0.1 9 04.06.2025
1.0.0 9 04.06.2025
0.0.2-Prerelease 9 04.06.2025
0.0.1-Prerelease 9 04.06.2025