# RecipeEntryConstruct

- Kind: `class`
- Package: [Aspire.Hosting.Radius](/reference/api/csharp/aspire.hosting.radius.md)
- Version: `17.0.0-preview.1.26567.5`
- Namespace: `Aspire.Hosting.Radius.Publishing.Constructs`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Radius/Publishing/Constructs/RecipeEntryConstruct.cs)
- Inherits: `ProvisionableConstruct`

Represents a single recipe entry inside a `Radius.Core/recipePacks` recipe pack.

## Definition

```csharp
namespace Aspire.Hosting.Radius.Publishing.Constructs;

public sealed class RecipeEntryConstruct
    : Azure.Provisioning.Primitives.ProvisionableConstruct
{
    // ...
}
```

## Remarks

Radius 0.60 renamed the emitted schema keys from `recipeKind` / `recipeLocation` to `kind` / `source` (radius-project/radius#12104). The C# member names are kept as [RecipeEntryConstruct.RecipeKind](/reference/api/csharp/aspire.hosting.radius/recipeentryconstruct/properties.md#recipekind) / [RecipeEntryConstruct.RecipeLocation](/reference/api/csharp/aspire.hosting.radius/recipeentryconstruct/properties.md#recipelocation) because this type is public; only the emitted property paths changed. Unknown fields are silently dropped by the Radius API server, so emitting the pre-0.60 key names produces an empty recipe pack with no publish-time or deploy-time error -- every backing resource then fails recipe resolution.

## Constructors

- [RecipeEntryConstruct](/reference/api/csharp/aspire.hosting.radius/recipeentryconstruct/constructors.md#constructor)

## Properties

- [Parameters](/reference/api/csharp/aspire.hosting.radius/recipeentryconstruct/properties.md#parameters) : `BicepDictionary<object>` `get; set` -- Optional recipe parameters for this entry. Populated only when the environment declares recipe parameters; left unassigned otherwise so the `parameters` key is omitted from the emitted Bicep.
- [RecipeKind](/reference/api/csharp/aspire.hosting.radius/recipeentryconstruct/properties.md#recipekind) : `BicepValue<string>` `get; set` -- The recipe kind (e.g., "bicep"). Emitted as `kind`.
- [RecipeLocation](/reference/api/csharp/aspire.hosting.radius/recipeentryconstruct/properties.md#recipelocation) : `BicepValue<string>` `get; set` -- The recipe location (e.g., OCI registry path). Emitted as `source`.
