Getting Started — Blazor

Blazor Power Tools targets the latest .NET. Confirm you have the latest .NET SDK, then create (or open) a Blazor project — Server, WebAssembly, or the hybrid template all work.

dotnet --version
# Should print the latest .NET SDK version

dotnet new blazor -n MyApp
cd MyApp

Install the package

Isabyte.PowerTools.Blazor is distributed through the official NuGet feed. Register the feed once, then install the package — see Package Setup for the full feed story (IDE-specific steps, credential handling, version pinning):

dotnet nuget add source https://nuget.debiansrv.ddns.net/v3/index.json --name Isabyte.PowerTools.Blazor \
  --username YOUR_REGISTRY_USERNAME --password YOUR_REGISTRY_TOKEN --store-password-in-clear-text
dotnet add package Isabyte.PowerTools.Blazor

Downloads are authenticated: generate your registry credential on the Credentials page of your Isabyte account (valid while your license is active).

Register the services

In Program.cs:

using Isabyte.PowerTools.Components;

var builder = WebApplication.CreateBuilder(args);

// Add Blazor Power Tools services
builder.Services.AddBlazorPowerTools();

var app = builder.Build();
app.Run();

Add the root component

Wrap your layout body with <IsabyteRootComponent> in MainLayout.razor. It cascades license validation, the active theme, and JS-interop context to every Isabyte component beneath it:

<IsabyteRootComponent>
    @Body
</IsabyteRootComponent>

Import the namespace

Add these to _Imports.razor so components resolve on every page:

@using Isabyte.PowerTools.Components
@using Isabyte.PowerTools.Components.Common
@using Isabyte.PowerTools.Components.Controls

Use your first component

<IsabyteDateSelector @bind-Value="selectedDate" Label="Pick a date" />

@code {
    private DateTime? selectedDate;
}
dotnet run

You should see a styled date picker.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.