GKit.BlazorExt
1.0.0
dotnet add package GKit.BlazorExt --version 1.0.0
NuGet\Install-Package GKit.BlazorExt -Version 1.0.0
<PackageReference Include="GKit.BlazorExt" Version="1.0.0" />
<PackageVersion Include="GKit.BlazorExt" Version="1.0.0" />
<PackageReference Include="GKit.BlazorExt" />
paket add GKit.BlazorExt --version 1.0.0
#r "nuget: GKit.BlazorExt, 1.0.0"
#:package GKit.BlazorExt@1.0.0
#addin nuget:?package=GKit.BlazorExt&version=1.0.0
#tool nuget:?package=GKit.BlazorExt&version=1.0.0
GKit.BlazorExt
The library provides a set of services and utility components to ease Blazor development.
Usage
Add the services to the DI:
builder.Services.AddGCBlazorServices();
DisposableHandle
The type allows to narrow the type of an object implementing IDisposable/IAsyncDisposable in order to create simple disposable handles without leaking unwanted access.
var hdl = new DisposableHandle((IDisposable)new Timer(p => {}, null, 1000, 1000));
//...
hdl.Dispose();
DisposableScope
Component to help with the disposal of disposable item at the end of a component lifecycle.
<DisposableScope>
<MyComp />
</DisposableScope>
Then in <MyComp>
@code{
[CascadingParameter]
public DisposableScope Scope { get; set; }
protected override void OnInitialized()
{
Scope.AddDisposable(...);
}
}
TimerService
Service mimicking setInterval and setTimeout Web Apis.
TimedScope
Component which provides a scope for a timer in order to produce synchronized rerenders or notifications.
<TimedScope Period="@TimeSpan.FromSeconds(1)">
<CurrentTime Now="@DateTime.Now" />
</TimedScope>
FullscreenService
Service which allows to request fullscreen for the document or for a given css selector.
DownloadFileService
Service which allows to cause a download of a Stream as a file.
DocumentEventService
Service which allows to subscribe to event of the document object.
ClipboardService
Service which allows to copy text to clipboard.
| 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.12)
- Microsoft.EntityFrameworkCore (>= 10.0.12)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on GKit.BlazorExt:
| Package | Downloads |
|---|---|
|
GKit.MudBlazorExt
Set of MudBlazor extensnions |
|
|
GKit.UI.Data
UI-neutral EF Core grid, CRUD and export engine shared by the GKit UI adapters |
|
|
GKit.UI.MudBlazorExt
MudBlazor adapter for the GKit UI components |
|
|
GKit.UI.RadzenExt
Radzen adapter for the GKit UI components |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 121 | 9/23/2026 |
| 0.0.24 | 136 | 9/11/2026 |
| 0.0.23 | 111 | 9/1/2026 |
| 0.0.22 | 110 | 8/31/2026 |
| 0.0.21 | 154 | 6/24/2026 |
| 0.0.20 | 139 | 5/2/2026 |
| 0.0.19 | 137 | 4/3/2026 |
| 0.0.18 | 137 | 3/26/2026 |
| 0.0.17 | 139 | 2/25/2026 |
| 0.0.16 | 146 | 1/30/2026 |
| 0.0.15 | 408 | 11/17/2025 |
| 0.0.14 | 251 | 10/28/2025 |
| 0.0.13 | 258 | 9/30/2025 |
| 0.0.12 | 384 | 9/16/2025 |
| 0.0.11 | 290 | 9/14/2025 |
| 0.0.10 | 281 | 9/3/2025 |
| 0.0.9 | 220 | 7/11/2025 |
| 0.0.8 | 232 | 6/19/2025 |
| 0.0.7 | 249 | 5/28/2025 |
| 0.0.6 | 258 | 5/26/2025 |