PGMS.BlazorComponents
5.0.0.5
dotnet add package PGMS.BlazorComponents --version 5.0.0.5
NuGet\Install-Package PGMS.BlazorComponents -Version 5.0.0.5
<PackageReference Include="PGMS.BlazorComponents" Version="5.0.0.5" />
<PackageVersion Include="PGMS.BlazorComponents" Version="5.0.0.5" />
<PackageReference Include="PGMS.BlazorComponents" />
paket add PGMS.BlazorComponents --version 5.0.0.5
#r "nuget: PGMS.BlazorComponents, 5.0.0.5"
#:package PGMS.BlazorComponents@5.0.0.5
#addin nuget:?package=PGMS.BlazorComponents&version=5.0.0.5
#tool nuget:?package=PGMS.BlazorComponents&version=5.0.0.5
Introduction
PGMS.CQSLight is a small, open-source library that provides a simple and easy-to-use interface for implementing the Command Query Separation (CQS) pattern in .NET Core applications. The library is designed to be lightweight, flexible, and easy to test.
The CQS pattern is a software design pattern that separates the responsibility of executing a command from the responsibility of querying data. The pattern is based on the idea that a method or function should either change the state of the system or retrieve data, but not both.
In PGMS.CQSLight, commands and queries are separated into different interfaces, and each command and query is handled by a specific handler. The library also provides a simple interface for dispatching commands and handling queries.
PGMS.CQSLight is built with SOLID principles, which makes the code maintainable, scalable, and testable. It's an easy to use library, and it's a good fit for small and medium-sized projects that need to implement the CQS pattern.
PGMS.BlazorComponents
Blazor components to facilitate the use of commands and queries in the UI (E2E DDD)
This package focuses on components to facilitate the use of commands and queries in the UI, enabling true end-to-end Domain-Driven Design.
End-to-end Domain-Driven Design (DDD)
End-to-end DDD involves applying the principles of DDD across the entire software development process, from requirements gathering to deployment. This means that the focus is not just on the code, but on the entire system, including the user interface, the database, and the infrastructure.
The end-to-end DDD approach also emphasizes the use of ubiquitous language, a common vocabulary used by both the development team and the domain experts to ensure that everyone is speaking the same language and referring to the same concepts. This helps to avoid misunderstandings and ensures that the software meets the needs of the business.
Overall, end-to-end DDD aims to create software systems that are not only technically sound but also closely aligned with the business domain they serve, which can lead to more successful and effective software solutions.
Key Features
- Base Action Components:
BaseCqsActionComponentfor creating command-based UI actions - Modal Components:
ActionModalComponent<TActionItem>for displaying commands in modal dialogs - Side Panel Components:
ActionSidePanelComponent<TActionItem>for side panel command execution - Form Components:
ActionFormCommandComponent<TActionItem, TCommand>for command forms with validation - Security Integration:
BaseSecureComponentwith role-based access control and session management - Error Handling: Built-in error handling with
IErrorHandlerServiceintegration - Validation Display: Automatic display of command validation results in the UI
- Blazorise Integration: Built on Blazorise component library for rich UI components
What's New
Base classes for Blazor CQSLight integration. Includes modal and side panel host for Command Action Components, enabling seamless integration of CQS pattern in Blazor applications.
Getting Started
Have a look at our sample app based on PGMS.CQSLight: GitHub Repository
Version 5.X ⇒ DotNet 10.0
Version 4.X ⇒ DotNet 8.0
Version 3.X ⇒ DotNet 6.0
Version 2.X ⇒ DotNet 5.0
| 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
- Blazorise (>= 1.8.6)
- Microsoft.AspNetCore.Components.Authorization (>= 10.0.0)
- Microsoft.AspNetCore.Components.Web (>= 10.0.0)
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (>= 10.0.0)
- Microsoft.Data.SqlClient (>= 6.1.3)
- Microsoft.EntityFrameworkCore (>= 10.0.0)
- Microsoft.Extensions.Localization.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0)
- PGMS.CQSLight (>= 5.0.0.5)
- PGMS.Data (>= 5.0.0.5)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on PGMS.BlazorComponents:
| Package | Downloads |
|---|---|
|
PGMS.AdvBlazorComponents
Advanced Blazor components library built on Blazorise — async data grids with paging, sorting and advanced search, dropdown selects, rich text editors, chip displays, loading spinners and built-in licensing components for .NET Blazor applications. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 5.0.0.5 | 275 | 3/21/2026 | |
| 5.0.0.4 | 95 | 3/21/2026 | |
| 5.0.0.3 | 82 | 3/17/2026 | |
| 5.0.0.2 | 928 | 2/21/2026 | |
| 5.0.0.1 | 778 | 12/8/2025 | |
| 5.0.0 | 730 | 11/17/2025 | |
| 5.0.0-RC2 | 208 | 11/14/2025 | |
| 5.0.0-RC1 | 214 | 11/14/2025 | |
| 4.2.12.12 | 80 | 3/21/2026 | |
| 4.2.12.10 | 87 | 3/5/2026 | |
| 4.2.12.10-RC2 | 13,419 | 12/15/2025 | |
| 4.2.12.10-RC1 | 244 | 12/15/2025 | |
| 4.2.12.9 | 5,469 | 12/8/2025 | |
| 4.2.12.8 | 10,994 | 10/14/2025 | |
| 4.2.12.7 | 192 | 10/14/2025 | |
| 4.2.11.10 | 77 | 3/21/2026 | |
| 4.2.11.9 | 82 | 3/17/2026 | |
| 4.2.11.8 | 86 | 3/17/2026 | |
| 4.2.11.7 | 84 | 3/17/2026 | |
| 4.2.11.6 | 85 | 3/5/2026 |