Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

DistributedApplicationBuilder.WithOutputDiffing

Method
📦 Aspire.Hosting v17.0.0
type DistributedApplicationBuilder interface {
// ... omitted for brevity
WithOutputDiffing(options ...*WithOutputDiffingOptions) DistributedApplicationBuilder
}

Signature

methodWithOutputDiffing
Adds an opt-in target that checks for stale generated pipeline output.
WithOutputDiffing(options ...*WithOutputDiffingOptions) DistributedApplicationBuilder
options...*WithOutputDiffingOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithOutputDiffingOptions argument.

TargetStep*stringThe step whose completed output is compared. Defaults to publish.
DiffStepName*stringThe comparison target name. When null, uses the target name followed by -and-diff.
Description*stringAn optional description of the comparison target.
DistributedApplicationBuilder

The IDistributedApplicationBuilder for chaining.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: