Watch Aspire live streamsDocsTry Aspire

RadiusRecipeParameterExtensions

Classstaticnet10.0
📦 Aspire.Hosting.Radius v13.6.0-preview.1.26478.8
Recipe-parameter configuration entry points for RadiusEnvironmentResource. These extensions attach a recipe-parameter annotation to the environment that the publisher consumes to emit a parameters block on each recipe entry under Radius.Core/recipePacks (and the legacy Applications.Core/environments inline-recipes shape).
namespace Aspire.Hosting;
public static class RadiusRecipeParameterExtensions
{
// ...
}

Parameter values may be literals (string, number, boolean, array, or string-keyed object), an ApplicationModel.IResourceBuilder`1 binding, or a RadiusProviderReference (e.g. RadiusProviderReference.AwsRegion).

Precedence: a resource-type-scoped parameter overrides an environment-wide parameter of the same key for recipe entries of that type. Keys that do not collide are merged (union). Repeated calls for the same scope also merge, with the later call winning per key.

View all methods