Skip to content

[13.3] Document Aspire.Hosting.EntityFrameworkCore #536

Closed

Activity

  1. added
    documentation
    on Mar 11, 2026
  2. changed the title [-][13.2] Document Aspire.Hosting.EntityFrameworkCore[/-] [+][13.3] Document Aspire.Hosting.EntityFrameworkCore[/+] on Apr 29, 2026
  3. IEvangelist commented on Jun 2, 2026

    @IEvangelist
    Member

    Triage → @Copilot

    Source of truth

    Scope

    1. Create a new page src/frontend/src/content/docs/integrations/databases/efcore/efcore-host.mdx modeled after the structure of the other *-host.mdx pages in databases/efcore/ (e.g. postgres/postgres-host.mdx if it exists, or the closest sibling). Content should cover:

      • What is Aspire.Hosting.EntityFrameworkCore — one-paragraph summary distinguishing it from the existing per-database EF Core docs (this package is the AppHost-side modeling layer, not a client integration).
      • Hosting integration — install, the Add… extension(s) exposed by EFResourceBuilderExtensions, code sample for a DbContext resource in AppHost.cs.
      • Migrations — EFMigrationResource / EFMigrationResourceBuilderExtensions: how to model a migrations step (WithMigration(...) etc.), wiring it before consuming apps with WaitForCompletion. Cross-link the existing databases/efcore/migrations.mdx.
      • Operations — anything EFCoreOperationExecutor exposes that's user-facing (commands surfaced in the dashboard, etc.).
      • Use C# and TypeScript tabs only if the TypeScript AppHost surface exists for this package; otherwise C#-only with a short note matching the convention used in rabbitmq-host.mdx.
    2. Update src/frontend/src/content/docs/integrations/databases/efcore/overview.mdx to add a link/section pointing at the new efcore-host.mdx.

    3. Add the new page to the sidebar config (likely astro.config.mjs or a sidebar TS file under src/frontend/) wherever the existing efcore/ pages are listed.

    4. Mirror the new MDX file to src/frontend/src/content/docs/ja/integrations/databases/efcore/efcore-host.mdx with English content (a maintainer can localize later — match the placeholder pattern used for other recently-added pages).

    Acceptance

    • New efcore-host.mdx exists and renders (npm run build in src/frontend/ succeeds).
    • Page appears in the sidebar under Integrations → Databases → EF Core.
    • All code samples reference APIs that actually exist in Aspire.Hosting.EntityFrameworkCore (verify against the README and public types listed above).
    • No broken internal links.

    Out of scope: Documenting new APIs in the dotnet/aspire repo itself; the upstream README is the contract.

  4. linked a pull request that will close this issueDocument EF Core AppHost migration management #1175on Jun 2, 2026
  5. IEvangelist commented on Oct 18, 2026

    @IEvangelist
    Member

    Addressed by #749 (13.3 content release), which documents AddEFMigrations. The content is now on main, so closing.

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

Metadata

Metadata

Labels

documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions