Cirreum.Runtime.Client
1.0.27
This repository has been archived and is no longer maintained.
This package has been renamed and moved to Cirreum.Runtime.Wasm. Please use the new package for all future development.
dotnet add package Cirreum.Runtime.Client --version 1.0.27
NuGet\Install-Package Cirreum.Runtime.Client -Version 1.0.27
<PackageReference Include="Cirreum.Runtime.Client" Version="1.0.27" />
<PackageVersion Include="Cirreum.Runtime.Client" Version="1.0.27" />
<PackageReference Include="Cirreum.Runtime.Client" />
paket add Cirreum.Runtime.Client --version 1.0.27
#r "nuget: Cirreum.Runtime.Client, 1.0.27"
#:package Cirreum.Runtime.Client@1.0.27
#addin nuget:?package=Cirreum.Runtime.Client&version=1.0.27
#tool nuget:?package=Cirreum.Runtime.Client&version=1.0.27
Cirreum.Runtime.Client
Comprehensive client-side runtime infrastructure for Blazor WebAssembly applications
Overview
Cirreum.Runtime.Client provides a complete foundation for building robust Blazor WebAssembly applications with built-in support for authentication, state management, theming, user presence, and component infrastructure.
Features
Authentication & Security
- Flexible authentication with claims processing
- No-auth fallback for development scenarios
- Post-processing hooks for user enrichment
State Management
- Multiple state scopes: Memory, Session, Local Storage, and Container
- ViewModels with property change tracking
- Persistent and transient state patterns
Component Library
- Session activity monitoring with expiration dialogs
- User presence badges and indicators
- Profile cards and management
- Theme switcher with dark/light mode support
- Validation components with FluentValidation integration
Developer Experience
- Comprehensive base classes for pages and components
- Startup task infrastructure
- JavaScript interop module system
- SCSS compilation and theming support
Installation
dotnet add package Cirreum.Runtime.Client
Quick Start
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Cirreum.Runtime;
var builder = WebAssemblyHostBuilder.CreateDefault(args);
// Configure Cirreum Runtime Client
builder.Services.AddCirreumRuntimeClient(options =>
{
options.EnableAuthentication = true;
options.EnablePresenceMonitoring = true;
options.EnableThemeManagement = true;
});
await builder.Build().RunAsync();
Usage Examples
State Management
// Using a memory state component
@inherits MemoryStateComponent<MyState>
@code {
protected override void OnInitialized()
{
State.PropertyChanged += (s, e) => StateHasChanged();
}
}
User Presence
<UserPresenceBadge UserId="@userId" Size="PresenceBadgeSize.Large" />
Theme Management
<ThemeSelector />
Session Monitoring
<SessionActivityMonitor WarningMinutes="5" />
Architecture
The library is organized into several key namespaces:
Cirreum.Runtime.Authentication- Authentication infrastructure and claims processingCirreum.Runtime.Components- Reusable Blazor componentsCirreum.Runtime.Components.ViewModels- State management and view model patternsCirreum.Runtime.Security- Security providers and user managementCirreum.Runtime.StartupTasks- Application initialization tasks
Demo Application
The repository includes a comprehensive demo application showcasing all features:
cd samples/Cirreum.Demo.Client
dotnet run
The demo includes examples of:
- Navigation layouts with theming
- User presence indicators
- State management patterns
- Time zone and internationalization features
- Weather data with session state
- Notification system
Contribution Guidelines
Be conservative with new abstractions
The API surface must remain stable and meaningful.Limit dependency expansion
Only add foundational, version-stable dependencies.Favor additive, non-breaking changes
Breaking changes ripple through the entire ecosystem.Include thorough unit tests
All primitives and patterns should be independently testable.Document architectural decisions
Context and reasoning should be clear for future maintainers.Follow .NET conventions
Use established patterns from Microsoft.Extensions.* libraries.
Versioning
{REPO-NAME} follows Semantic Versioning:
- Major - Breaking API changes
- Minor - New features, backward compatible
- Patch - Bug fixes, backward compatible
Given its foundational role, major version bumps are rare and carefully considered.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Cirreum Foundation Framework
Layered simplicity for modern .NET
| 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
- AspNetCore.SassCompiler (>= 1.97.1)
- Cirreum.Components.WebAssembly (>= 1.0.18)
- Cirreum.Services.Client (>= 1.0.27)
- Microsoft.AspNetCore.Components.WebAssembly (>= 10.0.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Cirreum.Runtime.Client:
| Package | Downloads |
|---|---|
|
Cirreum.Runtime.Client.Msal
The Runtime Library for Clients that supports Msal Authentication. |
|
|
Cirreum.Runtime.Client.Oidc
The Runtime Library for Clients that supports Oidc Authentication. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.0.27 | 165 | 1/21/2026 | |
| 1.0.26 | 136 | 1/12/2026 | |
| 1.0.25 | 139 | 1/11/2026 | |
| 1.0.24 | 130 | 1/11/2026 | |
| 1.0.23 | 131 | 1/11/2026 | |
| 1.0.22 | 134 | 1/5/2026 | |
| 1.0.21 | 143 | 1/5/2026 | |
| 1.0.20 | 139 | 1/2/2026 | |
| 1.0.19 | 139 | 1/1/2026 | |
| 1.0.18 | 140 | 12/30/2025 | |
| 1.0.17 | 137 | 12/29/2025 | |
| 1.0.16 | 140 | 12/29/2025 | |
| 1.0.15 | 114 | 12/29/2025 | |
| 1.0.14 | 116 | 12/29/2025 | |
| 1.0.12 | 139 | 12/27/2025 | |
| 1.0.11 | 225 | 12/22/2025 | |
| 1.0.10 | 149 | 12/20/2025 | |
| 1.0.9 | 293 | 12/19/2025 | |
| 1.0.8 | 323 | 12/17/2025 | |
| 1.0.7 | 304 | 12/16/2025 |