CasCap.Common.Configuration.Management.Contracts
5.2.1
Prefix Reserved
dotnet add package CasCap.Common.Configuration.Management.Contracts --version 5.2.1
NuGet\Install-Package CasCap.Common.Configuration.Management.Contracts -Version 5.2.1
<PackageReference Include="CasCap.Common.Configuration.Management.Contracts" Version="5.2.1" />
<PackageVersion Include="CasCap.Common.Configuration.Management.Contracts" Version="5.2.1" />
<PackageReference Include="CasCap.Common.Configuration.Management.Contracts" />
paket add CasCap.Common.Configuration.Management.Contracts --version 5.2.1
#r "nuget: CasCap.Common.Configuration.Management.Contracts, 5.2.1"
#:package CasCap.Common.Configuration.Management.Contracts@5.2.1
#addin nuget:?package=CasCap.Common.Configuration.Management.Contracts&version=5.2.1
#tool nuget:?package=CasCap.Common.Configuration.Management.Contracts&version=5.2.1
CasCap.Common.Configuration.Management.Contracts
Browser-neutral .NET 10/11 request and response records for a host-owned typed runtime configuration editor. This package has no Runtime, database, ASP.NET Core or Blazor dependency.
Installation
dotnet add package CasCap.Common.Configuration.Management.Contracts
Usage
Reference this package from a client and its host. Keep the same T through the document,
preview and publication requests; a host-supplied typed form can edit that value without a
string dictionary or a reflection-based form engine.
The host is responsible for browser-safe DTO design and client-authorized fields. Never reuse an application configuration root containing connections, secrets or server-only settings. Hiding a field in a component does not authorize or protect it. The server validates the complete registered DTO and enforces destination/operation policies independently of the browser.
Public Surface
RuntimeConfigurationDocument<T>contains the authoritative revision, typed value, publication time and optional expiry only.PreviewRuntimeConfigurationRequest<T>andPreviewRuntimeConfigurationResponse<T>carry a complete typed candidate.PublishRuntimeConfigurationRequest<T>requiresValue, exact integralExpectedRevisionandReason; expiry is optional.PublishRuntimeConfigurationResponse<T>confirmsCommittedandActivationPending, not monitor/replica acknowledgement.RuntimeConfigurationAntiforgeryResponseprovides the header name and principal-bound request token.RuntimeConfigurationDestinationidentifies the fixed authorization resource. Route and policy constants live inCasCap.Common.Configuration.Management.Contracts.Constants.
All records live in CasCap.Common.Configuration.Management.Contracts.Models. HTTP errors use
standard problem-details JSON, not a dependency on server MVC types in this project.
See the wire contract for exact routes,
authentication, antiforgery and error handling.
| 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. net11.0 is compatible. |
-
net10.0
- No dependencies.
-
net11.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on CasCap.Common.Configuration.Management.Contracts:
| Package | Downloads |
|---|---|
|
CasCap.Common.Configuration.Blazor
Typed host-integrated Blazor editor for authorized runtime configuration. |
|
|
CasCap.Common.Configuration.Management
Optional authorized typed runtime configuration management controllers. |
GitHub repositories
This package is not used by any popular GitHub repositories.