Aspirerelease/13.6
Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

Hoisting

Definition

In resource publishing, preserving an unresolved value for substitution at a later deployment or runtime stage.

Also known as
value hoisting

In Aspire publishing discussions, hoisting describes leaving a value unresolved so a later stage can provide it. It is not JavaScript’s declaration-hoisting behavior.

Structured endpoint and parameter references preserve the information a publisher needs to emit an appropriate placeholder or deployment expression. The exact representation and resolution stage depend on the deployment target.

Practical example

Keep a resource endpoint as a deployment-time reference instead of embedding the localhost address allocated during development.