Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithOutputDiffing

Method
📦 Aspire.Hosting v17.0.0
func (DistributedApplicationBuilder) 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().

Applies to

This method applies to the following types: