Configuration
This page documents Orleans.Lattice.Apps 10.5.0, in the documentation for Orleans.Lattice 10.5.0 (release line 10.5), built 2026-12-05. It is also published as markdown, with every table and list, at configuration.md, and llms.txt lists every page.Orleans.Lattice.Apps has two option objects. LatticeAppsOptions controls startup reconciliation; InImageAppSourceOptions holds registrations. See the manifest guide for format validation rules.
Engine startup options
| Option | Type | Default | Validation and effect |
|---|---|---|---|
ReconcileOnStartup |
bool |
true |
Reconciles enabled installs in the background once per silo start. App failure is recorded and logged; host startup is not failed. |
StartupRetryDelay |
TimeSpan |
250 ms (DefaultStartupRetryDelay) |
Must be positive. Initial delay before retrying the startup read; it doubles to the maximum. Waits are held to the timer maximum. |
StartupRetryMaxDelay |
TimeSpan |
30 s (DefaultStartupRetryMaxDelay) |
Must be positive and at least StartupRetryDelay; caps the retry delay. |
Configure with AddLatticeApps(options => ...) on ISiloBuilder or IServiceCollection.
In-image source options
| Option | Type | Default | Mutability and use |
|---|---|---|---|
Registrations |
IList<InImageAppRegistration> (get-only) |
Empty list | Each entry specifies the slug, assembly, manifest resource name, publisher, and UI asset resource prefix. AddLatticeApp or InImageAppSourceOptions.Register appends entries. |
Registration makes an app available to install; it does not install, enable, or enroll the app. The source reads registrations when constructed. Publisher defaults to first-party. The default asset prefix is {manifestResourceNamespace}.ui. when stripping the manifest resource name's final two dot-separated segments leaves a non-empty prefix; otherwise it is ui..
Manifest bounds
These are input-format constraints, not mutable options. Exceeded limits return structured validation errors; adopted-id length is reported through adoption validation. The text parser measures UTF-16 characters while the stream parser measures UTF-8 bytes, so those two limits are not equivalent for non-ASCII input.
| Manifest field or section | Limit |
|---|---|
| JSON text / input stream | 1,048,576 UTF-16 characters / 1,048,576 UTF-8 bytes |
| Entries in a section or scopes of one role | 256 |
App slug (identity.slug) |
2-31 characters matching ^[a-z][a-z0-9-]{1,30}$ |
| Tree, role or subscription name | 1-128 characters: a lower-case ASCII letter, then lower-case letters, digits, - or _; unique within its section |
| MCP tool name | 1-96 characters, with the same alphabet as other names; unique within the section |
| Key, prefix, adopted id, schema family or provenance string | 1,024 characters |
| MCP tool description | 4,096 characters |
| Presentation display name | 60 characters |
| Presentation summary | 160 characters |
| Presentation description | 4,000 characters |
| Publisher display name | 80 characters |
| Presentation categories | 5 |
| Documentation URL | 2,048 characters; absolute HTTPS, no whitespace or user information |
UI bundle assets (AppUiBundle.MaxAssets) |
256 |
One UI asset (AppUiBundle.MaxAssetBytes) |
2 MiB |
Whole UI bundle (AppUiBundle.MaxBundleBytes) |
16 MiB |
UI bundle asset path (AppUiBundle.MaxPathLength) |
256 characters |
The manifest validator, format bounds and UI bundle define these constraints.