#4592: docs for JasperFx command buttons in the Aspire dashboard + bump JasperFx.* 2.4.0#4593
Merged
jeremydmiller merged 1 commit intoJun 1, 2026
Conversation
…mp JasperFx.* 2.2.1 → 2.4.0 The new JasperFx.Aspire package (JasperFx/jasperfx#402) surfaces a JasperFx app's CLI verbs as clickable custom commands on each resource tile in the .NET Aspire dashboard. Marten apps inherit this for free because they build on the JasperFx command layer. New page: docs/configuration/aspire-commands.md - Quick-start: WithJasperFxCommands() one-liner on the Marten service resource in the Aspire AppHost project. - Highlights the four verbs that matter most for Marten: check-env, describe, resources, projections. - Confirmation behavior for mutating verbs + per-verb customization (DisplayName, ConfirmationMessage, IconName, IsHighlighted, IsEnabled). - WithJasperFxCommand single-verb registration with fixed-args (the "rebuild MyProjection only" recipe). - Constraint notes: AppHost-layer only, child-process verb spawn picks up Aspire-injected env, requires ApplyJasperFxExtensions + RunJasperFxCommandsAsync wiring in the service's Program.cs. Wired into the sidebar under "Command Line Tooling" in docs/.vitepress/config.mts; reciprocal cross-link added at the top of docs/configuration/cli.md so anyone landing on the CLI page sees the Aspire entry-point too. Dependency bump: JasperFx, JasperFx.Events, JasperFx.SourceGenerator, JasperFx.Events.SourceGenerator 2.2.1 → 2.4.0 in Directory.Packages.props to pull in the package referenced by the new docs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This was referenced Jun 2, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4592.
The new
JasperFx.Aspirepackage (JasperFx/jasperfx#402, shipped in JasperFx 2.4.0) surfaces a JasperFx app's CLI verbs as clickable custom commands on each resource tile in the .NET Aspire dashboard. Marten apps inherit this for free because they build on the JasperFx command layer.New docs page
docs/configuration/aspire-commands.md— JasperFx Commands in the Aspire Dashboard. Covers:builder.AddProject<Projects.MartenApi>(\"api\").WithJasperFxCommands();check-env,describe,resources(schema apply/patch),projections(async rebuilds) — and which ones are mutating.IncludeMutatingCommands = trueopt-in and the dashboard confirmation behavior for mutating verbs.opts.For(verb)—DisplayName,ConfirmationMessage,IconName,IsHighlighted,IsEnabledpredicate.WithJasperFxCommandsingle-verb registration with fixed args (the "rebuild MyProjection only" recipe).ApplyJasperFxExtensions+RunJasperFxCommandsAsyncwiring in the service'sProgram.cs.Wired into the sidebar under Command Line Tooling in
docs/.vitepress/config.mts. Reciprocal cross-link added at the top ofdocs/configuration/cli.mdso anyone landing on the CLI page sees the Aspire entry-point too.Dependency bump
JasperFxJasperFx.EventsJasperFx.Events.SourceGeneratorJasperFx.SourceGeneratorMarten core builds clean against 2.4.0 (0 errors). The
JasperFx.Aspirepackage the docs reference ships in this same 2.4.0 train.Lint
markdownlint --disable MD009+cspell --config ./docs/cSpell.jsonboth pass locally on the new page and the editedcli.md.🤖 Generated with Claude Code