Skip to content

Library AppHost disagrees with Chronicle's Aspire docs on MongoDB and the management endpoint #668

Closed

Description

@woksin

The Library sample's Aspire AppHost (Library/Composition/Program.cs) disagrees with Chronicle's Aspire hosting documentation:

  • It says the latest-development image no longer bundles MongoDB and wires AddMongoDB(...).AddDatabase(...) into WithMongoDB. The development image still bundles MongoDB, and WithMongoDB does not stop the embedded mongod. To use an external MongoDB, select the latest-development-slim image with WithImageTag, or drop the external MongoDB and use the bundled one.
  • It pins a management endpoint. ChronicleResource registers only the grpc endpoint (35000); there is no management endpoint. Remove that wiring and use chronicle.Resource.GrpcEndpoint or the resource's connection string.

Reference: Chronicle's corrected Aspire page, https://github.com/Cratis/Chronicle/blob/main/Documentation/hosting/aspire.mdx (correction tracked in Cratis/Chronicle#4920).

Status

State: Done — Merged in #670 (efc79b2), closed
Branch: stage-710-arc-discovery-auth (#670)
Scope: Align Library AppHost with Chronicle Aspire docs: AddCratisChronicleMongoDB (replica set) + latest-development-slim, apps get the read-model connection string, drop the management endpoint; Workbench on 35000. Ships with #667's PR.
Delivered: Nothing yet.
Remaining: To be confirmed.
Follow-ups: None.

Activity

  1. self-assigned this
    on Oct 24, 2026
  2. added theissue type on Oct 25, 2026
  3. changed the issue type fromtoon Oct 27, 2026
  4. woksin commented on Oct 29, 2026

    @woksin
    CollaboratorAuthor

    Delivered in #670 (merged): the Library AppHost uses one MongoDB replica set (AddCratisChronicleMongoDB) for Chronicle and the read models, selects the slim development image, and drops the separate management endpoint (the Workbench is served on 35000).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions