IDistributedApplicationBuilder.withOutputDiffing

Method
📦 Aspire.Hosting v17.0.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
withOutputDiffing(
targetStep?: string,
diffStepName?: string,
description?: string): IDistributedApplicationBuilder;
}

Signature

methodwithOutputDiffing
Adds an opt-in target that checks for stale generated pipeline output.
withOutputDiffing(
targetStep?: string,
diffStepName?: string,
description?: string): IDistributedApplicationBuilder
targetStepstringoptional= publishThe step whose completed output is compared. Defaults to `publish`.
diffStepNamestringoptionalThe comparison target name. When null, uses the target name followed by `-and-diff`.
descriptionstringoptionalAn optional description of the comparison target.
IDistributedApplicationBuilder

Defined on

This method is defined on the following type: