Zonit.Extensions
0.1.2
See the version list below for details.
dotnet add package Zonit.Extensions --version 0.1.2
NuGet\Install-Package Zonit.Extensions -Version 0.1.2
<PackageReference Include="Zonit.Extensions" Version="0.1.2" />
<PackageVersion Include="Zonit.Extensions" Version="0.1.2" />
<PackageReference Include="Zonit.Extensions" />
paket add Zonit.Extensions --version 0.1.2
#r "nuget: Zonit.Extensions, 0.1.2"
#:package Zonit.Extensions@0.1.2
#addin nuget:?package=Zonit.Extensions&version=0.1.2
#tool nuget:?package=Zonit.Extensions&version=0.1.2
Useful tools for Blazor
Extensions:
- Zonit.Extensions.Reflection - A utility class for discovering assemblies and types that implement or inherit from a specified base type.
- Zonit.Extensions.Xml - A utility class for serializing objects to XML and deserializing XML back to objects using .NET's XML serialization.
- Zonit.Extensions.Website.Components
Nuget Package Abstraction
Install-Package Zonit.Extensions.Website.Abstractions
Nuget Package Extensions
Install-Package Zonit.Extensions.Website
Cookie handling with support for Blazor
Installation:
Add this in Routes.razor
@using Zonit.Extensions
<ZonitCookiesExtension />
Services in Program.cs
builder.Services.AddCookiesExtension();
App in Program.cs
app.UseCookiesExtension();
Example:
@page "/"
@rendermode InteractiveServer
@using Zonit.Extensions.Website
@inject ICookieProvider Cookie
@foreach (var cookie in Cookie.GetCookies())
{
<p>@cookie.Name @cookie.Value</p>
}
API
public CookieModel? Get(string key);
public CookieModel Set(string key, string value, int days = 12 * 30);
public CookieModel Set(CookieModel model);
public Task<CookieModel> SetAsync(string key, string value, int days = 12 * 30);
public Task<CookieModel> SetAsync(CookieModel model);
public List<CookieModel> GetCookies();
We use SetAsync only in the Blazor circuit. It executes the JS code with the Cookies record.
| 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- Diacritics (>= 3.3.29)
- Zonit.Extensions.Abstractions (>= 0.1.2)
-
net8.0
- Diacritics (>= 3.3.29)
- Zonit.Extensions.Abstractions (>= 0.1.2)
-
net9.0
- Diacritics (>= 3.3.29)
- Zonit.Extensions.Abstractions (>= 0.1.2)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Zonit.Extensions:
| Package | Downloads |
|---|---|
|
Zonit.Extensions.Website
ASP.NET Core and Blazor web extensions providing base components (PageBase, PageEditBase, PageViewBase), navigation services, breadcrumbs management, toast notifications, cookie handling, and data protection utilities for building modern web applications. |
|
|
Zonit.Extensions.Databases.SqlServer
SQL Server implementation of Zonit.Extensions.Databases - provides Entity Framework Core-based repository patterns with flexible CRUD operations, dynamic query building, DTO support, and seamless integration of external or computed data from any source. |
|
|
Zonit.Extensions.Website.MudBlazor
MudBlazor integration for Zonit.Extensions Value Objects. Provides automatic converters for Value Objects (Title, Description, UrlSlug, Content, Url) with built-in exception handling and localized error messages for MudBlazor form components. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.7 | 42 | 1/16/2026 |
| 0.2.6 | 36 | 1/15/2026 |
| 0.2.4 | 37 | 1/15/2026 |
| 0.2.3 | 33 | 1/15/2026 |
| 0.2.2 | 35 | 1/15/2026 |
| 0.2.1 | 117 | 1/11/2026 |
| 0.2.0 | 94 | 1/11/2026 |
| 0.1.54 | 138 | 1/6/2026 |
| 0.1.53 | 147 | 1/4/2026 |
| 0.1.52 | 99 | 1/4/2026 |
| 0.1.51 | 128 | 1/2/2026 |
| 0.1.50 | 421 | 11/18/2025 |
| 0.1.27 | 174 | 8/16/2025 |
| 0.1.26 | 210 | 8/14/2025 |
| 0.1.25 | 299 | 7/26/2025 |
| 0.1.24 | 325 | 7/26/2025 |
| 0.1.23 | 340 | 7/26/2025 |
| 0.1.22 | 341 | 7/26/2025 |
| 0.1.21 | 342 | 7/26/2025 |
| 0.1.20 | 548 | 7/21/2025 |
| 0.1.19 | 525 | 7/21/2025 |
| 0.1.18 | 378 | 7/20/2025 |
| 0.1.17 | 166 | 6/27/2025 |
| 0.1.16 | 212 | 6/17/2025 |
| 0.1.15 | 200 | 6/17/2025 |
| 0.1.14 | 212 | 6/16/2025 |
| 0.1.13 | 208 | 6/16/2025 |
| 0.1.12 | 203 | 6/16/2025 |
| 0.1.11 | 196 | 6/16/2025 |
| 0.1.10 | 250 | 6/16/2025 |
| 0.1.9 | 164 | 6/6/2025 |
| 0.1.8 | 212 | 5/28/2025 |
| 0.1.7 | 204 | 5/27/2025 |
| 0.1.6 | 203 | 5/26/2025 |
| 0.1.5 | 198 | 5/26/2025 |
| 0.1.4 | 209 | 5/26/2025 |
| 0.1.3 | 211 | 5/26/2025 |
| 0.1.2 | 193 | 5/26/2025 |
| 0.1.1 | 199 | 5/25/2025 |
| 0.1.0 | 196 | 5/25/2025 |
| 0.0.2 | 194 | 5/19/2025 |
| 0.0.1 | 196 | 5/8/2025 |