Recrovit.RecroGridFramework.Client
10.1.0
dotnet add package Recrovit.RecroGridFramework.Client --version 10.1.0
NuGet\Install-Package Recrovit.RecroGridFramework.Client -Version 10.1.0
<PackageReference Include="Recrovit.RecroGridFramework.Client" Version="10.1.0" />
<PackageVersion Include="Recrovit.RecroGridFramework.Client" Version="10.1.0" />
<PackageReference Include="Recrovit.RecroGridFramework.Client" />
paket add Recrovit.RecroGridFramework.Client --version 10.1.0
#r "nuget: Recrovit.RecroGridFramework.Client, 10.1.0"
#:package Recrovit.RecroGridFramework.Client@10.1.0
#addin nuget:?package=Recrovit.RecroGridFramework.Client&version=10.1.0
#tool nuget:?package=Recrovit.RecroGridFramework.Client&version=10.1.0
RecroGrid Framework Client
Official Website: RecroGrid Framework
Overview
Recrovit.RecroGridFramework.Client is the core client-side service and orchestration layer of the RecroGrid Framework ecosystem.
Its main responsibility is to implement the runtime client behavior that talks to the server-side Recrovit.RecroGridFramework.Core APIs, using the shared contracts defined in Recrovit.RecroGridFramework.Abstraction.
In practice, this package is the bridge between application code and the /rgf/api/... endpoints exposed by the RecroGrid Framework server side:
- it implements
IRgfApiService - it serializes shared request contracts such as
RgfGridRequest - it calls the server-side RecroGrid Framework Core API endpoints
- it deserializes shared response contracts such as
RgfResult<RgfGridResult>,RgfResult<RgfFormResult>, andRgfUserState - it provides client-side services for security, localization dictionaries, menus, event notifications, and progress reporting
- it registers the required services in dependency injection for higher-level packages
Because of this, Recrovit.RecroGridFramework.Client is not a UI package by itself. It is the reusable client infrastructure that higher-level packages and UI integrations can build on.
What The Package Contains
API client implementation
The central implementation is ApiService, which provides the concrete implementation of IRgfApiService.
It is responsible for:
- creating and using the configured
HttpClientinstances - sending authenticated or non-authenticated requests
- attaching RecroGrid client version headers
- handling JSON serialization and deserialization
- mapping HTTP failures into
IRgfApiResponse<T> - reacting to
401 Unauthorizedand403 Forbiddenresponses throughIRgfAuthenticationFailureHandler
Dependency injection and configuration
RgfClientConfiguration wires the package into an application.
It is responsible for:
- reading RecroGrid configuration from
Recrovit:RecroGridFramework - resolving API base addresses and proxy base addresses
- configuring authentication mode
- registering the
HttpClientinstances used by the framework - registering core client services such as
IRgfApiService,IRecroSecService,IRecroDictService, andIRgfMenuService - initializing client-side dictionaries and framework logging metadata
This makes the package the main setup point for RecroGrid client services in non-UI and UI-enabled applications alike.
Client-side framework services
The package contains several higher-level services that build on the API layer:
RecroSecService: loads user state, tracks authentication, resolves roles and permissions, and persists language selectionRecroDictService: loads and caches RecroGrid dictionaries such asRGF.LanguageandRGF.UIMenuService: loads server-driven menu dataRgfEventNotificationService: dispatches framework events to client consumersRgfProgressService: supports progress reporting during client operations
These services encapsulate common RecroGrid client behaviors so that upper layers do not need to talk to the API directly for every concern.
Handlers and orchestration
The package also contains handlers that orchestrate RecroGrid operations using the shared contracts and client services, including:
- grid loading
- form loading and saving
- custom function execution
- aggregation and filtering workflows
- compatibility checks between client and server package versions
These handlers are consumed by higher-level packages such as Recrovit.RecroGridFramework.Client.Blazor and Recrovit.RecroGridFramework.Client.Blazor.UI.
How It Fits Into The RGF Stack
At a high level, the flow looks like this:
- Application code or a higher-level RGF package creates or prepares a shared request object from
Recrovit.RecroGridFramework.Abstraction. Recrovit.RecroGridFramework.Clientsends the request to a server-sideRecrovit.RecroGridFramework.CoreAPI endpoint.- The server returns shared response contracts defined in
Recrovit.RecroGridFramework.Abstraction. Recrovit.RecroGridFramework.Clientturns those responses into reusable services and workflows for the rest of the client stack.- UI-focused packages consume those services to render grids, forms, menus, filters, and security-aware interactions.
This makes Recrovit.RecroGridFramework.Client the operational client runtime of the framework and the central layer for client-side behavior that can be consumed by different UI integrations.
Typical Consumers
Recrovit.RecroGridFramework.Client is typically referenced by:
- applications that need typed access to the RecroGrid Framework Core APIs
- higher-level RGF UI packages and other client integrations
- client-side code that needs permission, user state, localization, or menu services
- applications that want the RecroGrid DI setup without directly implementing the API layer themselves
Related Packages
Recrovit.RecroGridFramework.Abstraction: shared contracts, models, and abstractions used by the client and server packagesRecrovit.RecroGridFramework.Core: server-side RecroGrid Framework Core implementation and API surfaceRecrovit.RecroGridFramework.Client: client-side API access, framework services, and runtime orchestrationRecrovit.RecroGridFramework.Client.Blazor: Blazor integration built on top of the client servicesRecrovit.RecroGridFramework.Client.Blazor.UI: higher-level UI components built on top of the client services and shared contracts
| 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 (>= 10.0.7)
- Microsoft.AspNetCore.Components.Authorization (>= 10.0.7)
- Microsoft.AspNetCore.Components.Forms (>= 10.0.7)
- Microsoft.AspNetCore.SignalR.Client (>= 10.0.7)
- Microsoft.Extensions.Caching.Memory (>= 10.0.7)
- Microsoft.Extensions.Http (>= 10.0.7)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.7)
- Recrovit.RecroGridFramework.Abstraction (>= 10.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Recrovit.RecroGridFramework.Client:
| Package | Downloads |
|---|---|
|
Recrovit.RecroGridFramework.Client.Blazor
RecroGrid Framework Blazor UI Abstraction |
GitHub repositories
This package is not used by any popular GitHub repositories.