Fundamentals
Components
Code Utilities
Demo
BcJsCookieService
Description
This page explains how to use the BlazorCraft JavaScript Cookie Service.
It provides methods to write, read, and remove cookies within your Blazor application.
Methods
Write ( string name, string value, int days = 7 )
Writes or updates a cookie with the specified properties.
Task
Read ( string name )
Reads the string value of a cookie by its specified name.
Task < string >
Remove ( string name )
Removes a cookie by its specified name.
Task