# Aspire.Hosting.Radius

- Package: `Aspire.Hosting.Radius`
- Version: `13.5.3-preview.1.26425.3`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting.Radius)
- NuGet: [Aspire.Hosting.Radius](https://www.nuget.org/packages/Aspire.Hosting.Radius)

## Namespaces

### Aspire.Hosting

- [RadiusCloudProviderExtensions](/reference/api/csharp/aspire.hosting.radius/radiuscloudproviderextensions.md) -- `class` `static` -- Cloud-provider configuration entry points for [RadiusEnvironmentResource](/reference/api/csharp/aspire.hosting.radius/radiusenvironmentresource.md). These extensions attach a `Annotations.RadiusCloudProvidersAnnotation` to the environment that the publisher consumes to emit `providers.azure` / `providers.aws` scope blocks and to schedule `rad credential register` invocations during deploy.
- [RadiusExtensions](/reference/api/csharp/aspire.hosting.radius/radiusextensions.md) -- `class` `static` -- Provides extension methods for adding and configuring Radius environment resources.

### Aspire.Hosting.Radius

- [RadiusEnvironmentResource](/reference/api/csharp/aspire.hosting.radius/radiusenvironmentresource.md) -- `class` `sealed` `ats export` -- Represents a Radius compute environment in the Aspire app model.

### Aspire.Hosting.Radius.CloudProviders

- [IAwsRadiusProviderBuilder](/reference/api/csharp/aspire.hosting.radius/iawsradiusproviderbuilder.md) -- `interface` -- Builder surface exposed inside the `WithAwsProvider` callback for selecting an AWS credential mode. Exactly one `With*` method must be called; a repeat call replaces the previous selection.
- [IAzureRadiusProviderBuilder](/reference/api/csharp/aspire.hosting.radius/iazureradiusproviderbuilder.md) -- `interface` -- Builder surface exposed inside the `WithAzureProvider` callback for selecting an Azure credential mode. Exactly one `With*` method must be called; a repeat call replaces the previous selection.

### Aspire.Hosting.Radius.Publishing

- [RadiusInfrastructureOptions](/reference/api/csharp/aspire.hosting.radius/radiusinfrastructureoptions.md) -- `class` `sealed` -- Exposes strongly-typed mutable collections of Radius construct classes for AST customization via the `ConfigureRadiusInfrastructure` callback.

### Aspire.Hosting.Radius.Publishing.Constructs

- [ConnectionConstruct](/reference/api/csharp/aspire.hosting.radius/connectionconstruct.md) -- `class` `sealed` -- Represents a connection entry in a container's connections block.
- [ContainerEnvVarConstruct](/reference/api/csharp/aspire.hosting.radius/containerenvvarconstruct.md) -- `class` `sealed` -- Represents a single environment-variable entry in a container's `env` block.
- [ContainerPortConstruct](/reference/api/csharp/aspire.hosting.radius/containerportconstruct.md) -- `class` `sealed` -- Represents a single port entry in a container's `ports` block.
- [LegacyApplicationConstruct](/reference/api/csharp/aspire.hosting.radius/legacyapplicationconstruct.md) -- `class` `sealed` -- Represents a legacy `Applications.Core/applications@2023-10-01-preview` resource in the Bicep AST. Parent for `Applications.*` portable resources that still use the legacy fallback path.
- [LegacyApplicationEnvironmentConstruct](/reference/api/csharp/aspire.hosting.radius/legacyapplicationenvironmentconstruct.md) -- `class` `sealed` -- Represents a legacy `Applications.Core/environments@2023-10-01-preview` resource in the Bicep AST. Used as a parent for `Applications.*` portable resources whose UDT counterparts are not yet GA (Redis, Mongo, RabbitMQ, Dapr state store, Dapr pubsub).
- [LegacyRecipeEntryConstruct](/reference/api/csharp/aspire.hosting.radius/legacyrecipeentryconstruct.md) -- `class` `sealed` -- Represents an individual recipe entry nested inside a legacy `Applications.Core/environments` `properties.recipes` block. Uses the original legacy schema keys `templateKind` / `templatePath` (the new `recipeKind` / `recipeLocation` keys are only valid on `Radius.Core/recipePacks`).
- [RadiusApplicationConstruct](/reference/api/csharp/aspire.hosting.radius/radiusapplicationconstruct.md) -- `class` `sealed` -- Represents a `Radius.Core/applications` resource in the Bicep AST.
- [RadiusContainerConstruct](/reference/api/csharp/aspire.hosting.radius/radiuscontainerconstruct.md) -- `class` `sealed` -- Represents a `Radius.Compute/containers` resource in the Bicep AST.
- [RadiusEnvironmentConstruct](/reference/api/csharp/aspire.hosting.radius/radiusenvironmentconstruct.md) -- `class` `sealed` -- Represents a `Radius.Core/environments` resource in the Bicep AST.
- [RadiusRecipePackConstruct](/reference/api/csharp/aspire.hosting.radius/radiusrecipepackconstruct.md) -- `class` `sealed` -- Represents a `Radius.Core/recipePacks` resource in the Bicep AST.
- [RadiusResourceTypeConstruct](/reference/api/csharp/aspire.hosting.radius/radiusresourcetypeconstruct.md) -- `class` `sealed` -- Represents a Radius resource type instance (e.g., `Radius.Data/redisCaches`, `Radius.Messaging/rabbitMQQueues`) in the Bicep AST. The concrete resource type and API version are passed via the constructor since they vary per Aspire resource mapping.
- [RecipeEntryConstruct](/reference/api/csharp/aspire.hosting.radius/recipeentryconstruct.md) -- `class` `sealed` -- Represents a single recipe entry inside a recipe pack (recipeKind + recipeLocation).
