Orleans.Lattice.Api.Apps
10.5.0
dotnet add package Orleans.Lattice.Api.Apps --version 10.5.0
NuGet\Install-Package Orleans.Lattice.Api.Apps -Version 10.5.0
<PackageReference Include="Orleans.Lattice.Api.Apps" Version="10.5.0" />
<PackageVersion Include="Orleans.Lattice.Api.Apps" Version="10.5.0" />
<PackageReference Include="Orleans.Lattice.Api.Apps" />
paket add Orleans.Lattice.Api.Apps --version 10.5.0
#r "nuget: Orleans.Lattice.Api.Apps, 10.5.0"
#:package Orleans.Lattice.Api.Apps@10.5.0
#addin nuget:?package=Orleans.Lattice.Api.Apps&version=10.5.0
#tool nuget:?package=Orleans.Lattice.Api.Apps&version=10.5.0
Orleans.Lattice.Api.Apps
Transport-agnostic implementation of ILatticeAppsControl, the app lifecycle
and consent control surface. One generic facade dispatches by app slug; there
are no per-app services.
The facade owns no admin plane of its own. It composes the app registry (install, upgrade, consent, list), the app source seam (describe a manifest before installation, without loading app code) and the activation pipeline (enable, disable, uninstall, activation status).
Register it on the silo after the core lattice and the apps add-on:
siloBuilder
.AddLattice(...)
.AddLatticeApps()
.AddLatticeAppsApi();
AddLatticeAppsApi() registers the facade as the ILatticeAppsControl
singleton that transport bindings such as Orleans.Lattice.Api.Apps.Grpc map,
and as the ILatticeAppRoleBindings singleton that replaces an installed app's
role-to-group bindings for its installed version. An enabled app is re-applied
afterwards, so a removed binding keeps no grant; a disabled app stays disabled.
It also registers the ILatticeAppCatalog (what each app source offers, gated
like the control verbs) and ILatticeAppWorkspace (the apps a caller holds a
role in, and their UI assets) facades. AddLatticeAppBridgeApi() adds
ILatticeAppBridge, the cluster-side enforcement point for an app UI's data
access, rate limited per caller, tenant and app through LatticeAppBridgeOptions.
Behaviour:
- Every control and catalogue verb except
GetCapabilitiesAsyncauthorizesLatticeOperation.AppInstallover the cluster-wide scope through the shared access gate before it reads registry or source metadata. The capability probe is advisory and grants nothing. The workspace and the bridge instead answer only for an app whose role the caller holds through the install's role bindings. - Operations run in the caller's active tenant (the default tenant when tenancy is off). Caller-supplied tree references in a ceiling are validated and tenant-composed at entry, then stored in their tenant-local form.
- Responses echo app slugs, app-local tree names and the pre-app ids of adopted trees, never a composed physical tree id. Exception messages are sanitized so no composed physical tree id crosses the facade.
- Uninstall soft-deletes an app's structural trees and never purges them itself; the core purges each soft-deleted tree once its soft-delete window elapses.
Part of Orleans.Lattice. See the Apps API documentation for the full control surface and security model.
Links
| 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.Orleans.Sdk (>= 10.4.2)
- Orleans.Lattice (>= 10.5.0)
- Orleans.Lattice.Api.Abstractions (>= 10.5.0)
- Orleans.Lattice.Apps (>= 10.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.