748 references to AspireExport
Aspire.Hosting (166)
ApplicationModel\EndpointReference.cs (1)
81[AspireExport("getValueAsync", Description = "Gets the URL of the endpoint asynchronously")]
ApplicationModel\ReferenceExpression.cs (5)
224[AspireExport("getValue", Description = "Gets the resolved string value of the reference expression asynchronously")] 509[AspireExport("appendLiteral", Description = "Appends a literal string to the reference expression")] 529[AspireExport("appendFormatted", Description = "Appends a formatted string value to the reference expression")] 589[AspireExport("appendValueProvider", Description = "Appends a value provider to the reference expression")] 615[AspireExport("build", Description = "Builds the reference expression")]
Ats\BuilderExports.cs (4)
49[AspireExport("getConfigValue", Description = "Gets a configuration value by key")] 61[AspireExport("getConnectionString", Description = "Gets a connection string by name")] 76[AspireExport("getEnvironmentName", Description = "Gets the environment name")] 87[AspireExport("isDevelopment", Description = "Checks if running in Development environment")]
Ats\CollectionExports.cs (18)
33[AspireExport("Dict.get", Description = "Gets a value from a dictionary")] 43[AspireExport("Dict.set", Description = "Sets a value in a dictionary")] 53[AspireExport("Dict.remove", Description = "Removes a key from a dictionary")] 62[AspireExport("Dict.keys", Description = "Gets all keys from a dictionary")] 72[AspireExport("Dict.has", Description = "Checks if a dictionary contains a key")] 81[AspireExport("Dict.count", Description = "Gets the number of entries in a dictionary")] 89[AspireExport("Dict.clear", Description = "Clears all entries from a dictionary")] 98[AspireExport("Dict.values", Description = "Gets all values from a dictionary")] 107[AspireExport("Dict.toObject", Description = "Converts a dictionary to a plain object")] 121[AspireExport("List.get", Description = "Gets an item from a list by index")] 131[AspireExport("List.set", Description = "Sets an item in a list at a specific index")] 145[AspireExport("List.add", Description = "Adds an item to the end of a list")] 155[AspireExport("List.removeAt", Description = "Removes an item at a specific index from a list")] 171[AspireExport("List.length", Description = "Gets the number of items in a list")] 179[AspireExport("List.clear", Description = "Clears all items from a list")] 189[AspireExport("List.insert", Description = "Inserts an item at a specific index in a list")] 204[AspireExport("List.indexOf", Description = "Gets the index of an item in a list")] 213[AspireExport("List.toArray", Description = "Converts a list to an array")]
Ats\CoreExports.cs (2)
79[AspireExport("withVolume", Description = "Adds a volume")] 103[AspireExport("getResourceName", Description = "Gets the resource name")]
Ats\LoggingExports.cs (7)
17[AspireExport("logInformation", Description = "Logs an information message")] 26[AspireExport("logWarning", Description = "Logs a warning message")] 35[AspireExport("logError", Description = "Logs an error message")] 44[AspireExport("logDebug", Description = "Logs a debug message")] 53[AspireExport("log", Description = "Logs a message with specified level")] 73[AspireExport("completeLog", Description = "Completes the log stream for a resource")] 82[AspireExport("completeLogByName", Description = "Completes the log stream by resource name")]
Ats\NotificationExports.cs (6)
16[AspireExport("waitForResourceState", Description = "Waits for a resource to reach a specified state")] 28[AspireExport("waitForResourceStates", Description = "Waits for a resource to reach one of the specified states")] 40[AspireExport("waitForResourceHealthy", Description = "Waits for a resource to become healthy")] 52[AspireExport("waitForDependencies", Description = "Waits for all dependencies of a resource to be ready")] 63[AspireExport("tryGetResourceState", Description = "Tries to get the current state of a resource")] 78[AspireExport("publishResourceUpdate", Description = "Publishes an update for a resource's state")]
Ats\ServiceExports.cs (2)
95[AspireExport("getService", Description = "Gets a service by ATS type ID")] 117[AspireExport("getRequiredService", Description = "Gets a required service by ATS type ID")]
ConnectionStringBuilderExtensions.cs (2)
40[AspireExport("addConnectionStringExpression", MethodName = "addConnectionString", Description = "Adds a connection string with a reference expression")] 145[AspireExport("addConnectionStringBuilder", Description = "Adds a connection string with a builder callback")]
ContainerRegistryResourceBuilderExtensions.cs (3)
38[AspireExport("addContainerRegistry", Description = "Adds a container registry resource")] 91[AspireExport("addContainerRegistryFromString", MethodName = "addContainerRegistry", Description = "Adds a container registry with string endpoint")] 156[AspireExport("withContainerRegistry", Description = "Configures a resource to use a container registry")]
ContainerResourceBuilderExtensions.cs (19)
93[AspireExport("addContainer", Description = "Adds a container resource")] 253[AspireExport("withBindMount", Description = "Adds a bind mount")] 273[AspireExport("withEntrypoint", Description = "Sets the container entrypoint")] 290[AspireExport("withImageTag", Description = "Sets the container image tag")] 321[AspireExport("withImageRegistry", Description = "Sets the container image registry")] 343[AspireExport("withImage", Description = "Sets the container image")] 410[AspireExport("withImageSHA256", Description = "Sets the image SHA256 digest")] 435[AspireExport("withContainerRuntimeArgs", Description = "Adds runtime arguments for the container")] 508[AspireExport("withLifetime", Description = "Sets the lifetime behavior of the container resource")] 523[AspireExport("withImagePullPolicy", Description = "Sets the container image pull policy")] 540[AspireExport("publishAsContainer", Description = "Configures the resource to be published as a container")] 585[AspireExport("withDockerfile", Description = "Configures the resource to use a Dockerfile")] 819[AspireExport("addDockerfile", Description = "Adds a container resource built from a Dockerfile")] 1002[AspireExport("withContainerName", Description = "Sets the container name")] 1094[AspireExport("withBuildArg", Description = "Adds a build argument from a parameter resource")] 1142[AspireExport("withBuildSecret", Description = "Adds a build secret from a parameter resource")] 1385[AspireExport("withEndpointProxySupport", Description = "Configures endpoint proxy support")] 1579[AspireExport("withDockerfileBaseImage", Description = "Sets the base image for a Dockerfile build")] 1614[AspireExport("withContainerNetworkAlias", Description = "Adds a network alias for the container")]
DistributedApplication.cs (3)
153[AspireExport("createBuilder", Description = "Creates a new distributed application builder")] 217[AspireExport("createBuilderWithOptions", Description = "Creates builder with options")] 480[AspireExport("run", Description = "Runs the distributed application")]
DotnetToolResourceExtensions.cs (7)
27[AspireExport("addDotnetTool", Description = "Adds a .NET tool resource")] 127[AspireExport("withToolPackage", Description = "Sets the tool package ID")] 142[AspireExport("withToolVersion", Description = "Sets the tool version")] 156[AspireExport("withToolPrerelease", Description = "Allows prerelease tool versions")] 171[AspireExport("withToolSource", Description = "Adds a NuGet source for the tool")] 185[AspireExport("withToolIgnoreExistingFeeds", Description = "Ignores existing NuGet feeds")] 199[AspireExport("withToolIgnoreFailedSources", Description = "Ignores failed NuGet sources")]
ExecutableResourceBuilderExtensions.cs (5)
29[AspireExport("addExecutable", Description = "Adds an executable resource")] 77[AspireExport("publishAsDockerFile", Description = "Publishes the executable as a Docker container")] 120[AspireExport("publishAsDockerFileWithConfigure", Description = "Publishes an executable as a Docker file with optional container configuration")] 176[AspireExport("withExecutableCommand", Description = "Sets the executable command")] 206[AspireExport("withWorkingDirectory", Description = "Sets the executable working directory")]
ExternalServiceBuilderExtensions.cs (4)
27[AspireExport("addExternalService", Description = "Adds an external service resource")] 49[AspireExport("addExternalServiceUri", MethodName = "addExternalService", Description = "Adds an external service with a URI")] 66[AspireExport("addExternalServiceParameter", MethodName = "addExternalService", Description = "Adds an external service with a parameter URL")] 188[AspireExport("withExternalServiceHttpHealthCheck", Description = "Adds an HTTP health check to an external service")]
IDistributedApplicationBuilder.cs (1)
272[AspireExport("build", Description = "Builds the distributed application")]
McpServerResourceBuilderExtensions.cs (1)
41[AspireExport("withMcpServer", Description = "Configures an MCP server endpoint on the resource")]
OtlpConfigurationExtensions.cs (2)
125[AspireExport("withOtlpExporter", Description = "Configures OTLP telemetry export")] 147[AspireExport("withOtlpExporterProtocol", Description = "Configures OTLP telemetry export with specific protocol")]
ParameterResourceBuilderExtensions.cs (6)
26[AspireExport("addParameter", Description = "Adds a parameter resource")] 52[AspireExport("addParameterWithValue", MethodName = "addParameter", Description = "Adds a parameter with a default value")] 111[AspireExport("addParameterFromConfiguration", Description = "Adds a parameter sourced from configuration")] 173[AspireExport("withDescription", Description = "Sets a parameter description")] 255[AspireExport("addConnectionString", Description = "Adds a connection string resource")] 276[AspireExport("publishAsConnectionString", Description = "Publishes the resource as a connection string")]
Pipelines\PipelineConfigurationContext.cs (1)
49[AspireExport("getStepsByTag", Description = "Gets pipeline steps with the specified tag")]
Pipelines\PipelineStep.cs (2)
64[AspireExport("dependsOn", Description = "Adds a dependency on another step by name")] 84[AspireExport("requiredBy", Description = "Specifies that another step requires this step by name")]
Pipelines\PipelineStepFactoryExtensions.cs (3)
103[AspireExport("withPipelineStepFactory", Description = "Adds a pipeline step to the resource")] 137[AspireExport("withPipelineConfigurationAsync", Description = "Configures pipeline step dependencies via an async callback")] 156[AspireExport("withPipelineConfiguration", Description = "Configures pipeline step dependencies via a callback")]
ProjectResourceBuilderExtensions.cs (7)
190[AspireExport("addProject", Description = "Adds a .NET project resource")] 285[AspireExport("addProjectWithOptions", Description = "Adds a project resource with configuration options")] 331[AspireExport("addCSharpApp", Description = "Adds a C# application resource")] 367[AspireExport("addCSharpAppWithOptions", Description = "Adds a C# application resource with configuration options")] 745[AspireExport("withReplicas", Description = "Sets the number of replicas")] 780[AspireExport("disableForwardedHeaders", Description = "Disables forwarded headers for the project")] 823[AspireExport("publishProjectAsDockerFileWithConfigure", MethodName = "publishAsDockerFile", Description = "Publishes a project as a Docker file with optional container configuration")]
RequiredCommandResourceExtensions.cs (1)
28[AspireExport("withRequiredCommand", Description = "Adds a required command dependency")]
ResourceBuilderExtensions.cs (54)
33[AspireExport("withEnvironment", Description = "Sets an environment variable")] 91[AspireExport("withEnvironmentExpression", Description = "Adds an environment variable with a reference expression")] 133[AspireExport("withEnvironmentCallback", Description = "Sets environment variables via callback")] 149[AspireExport("withEnvironmentCallbackAsync", Description = "Sets environment variables via async callback")] 166[AspireExport("withEnvironmentEndpoint", Description = "Sets an environment variable from an endpoint reference")] 233[AspireExport("withEnvironmentParameter", Description = "Sets an environment variable from a parameter resource")] 256[AspireExport("withEnvironmentConnectionString", Description = "Sets an environment variable from a connection string resource")] 318[AspireExport("withConnectionProperty", Description = "Adds a connection property with a reference expression")] 336[AspireExport("withConnectionPropertyValue", Description = "Adds a connection property with a string value")] 352[AspireExport("withArgs", Description = "Adds arguments")] 387[AspireExport("withArgsCallback", Description = "Sets command-line arguments via callback")] 407[AspireExport("withArgsCallbackAsync", Description = "Sets command-line arguments via async callback")] 569[AspireExport("withReference", Description = "Adds a reference to another resource")] 654[AspireExport("withServiceReference", Description = "Adds a service discovery reference to another resource")] 675[AspireExport("withServiceReferenceNamed", Description = "Adds a named service discovery reference")] 696[AspireExport("withReferenceUri", Description = "Adds a reference to a URI")] 749[AspireExport("withReferenceExternalService", Description = "Adds a reference to an external service")] 825[AspireExport("withReferenceEndpoint", Description = "Adds a reference to an endpoint")] 957[AspireExport("withEndpoint", Description = "Adds a network endpoint")] 1033[AspireExport("withHttpEndpoint", Description = "Adds an HTTP endpoint")] 1054[AspireExport("withHttpsEndpoint", Description = "Adds an HTTPS endpoint")] 1068[AspireExport("withExternalHttpEndpoints", Description = "Makes HTTP endpoints externally accessible")] 1115[AspireExport("getEndpoint", Description = "Gets an endpoint reference")] 1129[AspireExport("asHttp2Service", Description = "Configures resource for HTTP/2")] 1184[AspireExport("withUrlsCallback", Description = "Customizes displayed URLs via callback")] 1208[AspireExport("withUrlsCallbackAsync", Description = "Customizes displayed URLs via async callback")] 1246[AspireExport("withUrl", Description = "Adds or modifies displayed URLs")] 1310[AspireExport("withUrlExpression", Description = "Adds a URL using a reference expression")] 1366[AspireExport("withUrlForEndpoint", Description = "Customizes the URL for a specific endpoint via callback")] 1413[AspireExport("withUrlForEndpointFactory", Description = "Adds a URL for a specific endpoint via factory callback")] 1441[AspireExport("publishWithContainerFiles", Description = "Configures the resource to copy container files from the specified source during publishing")] 1471[AspireExport("withContainerFilesSource", Description = "Sets the source directory for container files")] 1491[AspireExport("clearContainerFilesSources", Description = "Clears all container file sources")] 1511[AspireExport("excludeFromManifest", Description = "Excludes the resource from the deployment manifest")] 1546[AspireExport("waitFor", Description = "Waits for another resource to be ready")] 1589[AspireExport("waitForWithBehavior", Description = "Waits for another resource with specific behavior")] 1654[AspireExport("waitForStart", Description = "Waits for another resource to start")] 1695[AspireExport("waitForStartWithBehavior", Description = "Waits for another resource to start with specific behavior")] 1766[AspireExport("withExplicitStart", Description = "Prevents resource from starting automatically")] 1798[AspireExport("waitForCompletion", Description = "Waits for resource completion")] 1855[AspireExport("withHealthCheck", Description = "Adds a health check by key")] 1900[AspireExport("withHttpHealthCheck", Description = "Adds an HTTP health check")] 2052[AspireExport("withCommand", Description = "Adds a resource command")] 2463[AspireExport("withDeveloperCertificateTrust", Description = "Configures developer certificate trust")] 2512[AspireExport("withCertificateTrustScope", Description = "Sets the certificate trust scope")] 2588[AspireExport("withHttpsDeveloperCertificate", Description = "Configures HTTPS with a developer certificate")] 2655[AspireExport("withoutHttpsCertificate", Description = "Removes HTTPS certificate configuration")] 2988[AspireExport("withParentRelationship", Description = "Sets the parent relationship")] 3052[AspireExport("withChildRelationship", Description = "Sets a child relationship")] 3123[AspireExport("withIconName", Description = "Sets the icon for the resource")] 3237[AspireExport("withHttpProbe", Description = "Adds an HTTP health probe to the resource")] 3327[AspireExport("excludeFromMcp", Description = "Excludes the resource from MCP server exposure")] 3436[AspireExport("withRemoteImageName", Description = "Sets the remote image name for publishing")] 3472[AspireExport("withRemoteImageTag", Description = "Sets the remote image tag for publishing")]
Aspire.Hosting.Azure (30)
AzureBicepResourceExtensions.cs (13)
23[AspireExport("addBicepTemplate", Description = "Adds an Azure Bicep template resource from a file")] 40[AspireExport("addBicepTemplateString", Description = "Adds an Azure Bicep template resource from inline Bicep content")] 55[AspireExport("getOutput", Description = "Gets an output reference from an Azure Bicep template resource")] 81[AspireExport("withEnvironmentFromOutput", Description = "Sets an environment variable from a Bicep output reference")] 119[AspireExport("withEnvironmentFromKeyVaultSecret", Description = "Sets an environment variable from an Azure Key Vault secret reference")] 136[AspireExport("withParameter", Description = "Adds a Bicep parameter without a value")] 153[AspireExport("withParameterStringValue", Description = "Adds a Bicep parameter with a string value")] 170[AspireExport("withParameterStringValues", Description = "Adds a Bicep parameter with a string list value")] 223[AspireExport("withParameterFromParameter", Description = "Adds a Bicep parameter from a parameter resource builder")] 259[AspireExport("withParameterFromConnectionString", Description = "Adds a Bicep parameter from a connection string resource builder")] 279[AspireExport("withParameterFromOutput", Description = "Adds a Bicep parameter from another Bicep output reference")] 299[AspireExport("withParameterFromReferenceExpression", Description = "Adds a Bicep parameter from a reference expression")] 319[AspireExport("withParameterFromEndpoint", Description = "Adds a Bicep parameter from an endpoint reference")]
AzureEnvironmentResourceExtensions.cs (3)
19[AspireExport("addAzureEnvironment", Description = "Adds the shared Azure environment resource to the application model")] 61[AspireExport("withLocation", Description = "Sets the Azure location for the shared Azure environment resource")] 85[AspireExport("withResourceGroup", Description = "Sets the Azure resource group for the shared Azure environment resource")]
AzureProvisioningResourceExtensions.cs (2)
24[AspireExport("addAzureInfrastructure", Description = "Adds an Azure provisioning resource to the application model")] 40[AspireExport("configureInfrastructure", Description = "Configures the Azure provisioning infrastructure callback")]
AzureResourceExtensions.cs (3)
21[AspireExport("publishAsConnectionString", Description = "Publishes an Azure resource to the manifest as a connection string")] 34[AspireExport("getBicepIdentifier", Description = "Gets the normalized Bicep identifier for an Azure resource")] 62[AspireExport("clearDefaultRoleAssignments", Description = "Clears the default Azure role assignments from a resource")]
AzureUserAssignedIdentityExtensions.cs (2)
26[AspireExport("addAzureUserAssignedIdentity", Description = "Adds an Azure user-assigned identity resource")] 60[AspireExport("withUserAssignedIdentityAzureUserAssignedIdentity", MethodName = "withAzureUserAssignedIdentity", Description = "Associates an Azure user-assigned identity with a compute resource")]
ExistingAzureResourceExtensions.cs (6)
34[AspireExport("isExisting", Description = "Determines whether a resource is marked as existing")] 48[AspireExport("runAsExistingFromParameters", Description = "Marks an Azure resource as existing in run mode by using parameter resources")] 70[AspireExport("runAsExisting", Description = "Marks an Azure resource as existing in run mode")] 92[AspireExport("publishAsExistingFromParameters", Description = "Marks an Azure resource as existing in publish mode by using parameter resources")] 114[AspireExport("publishAsExisting", Description = "Marks an Azure resource as existing in publish mode")] 136[AspireExport("asExistingFromParameters", MethodName = "asExisting", Description = "Marks an Azure resource as existing in both run and publish modes by using parameter resources")]
Provisioning\AzureProvisionerExtensions.cs (1)
24[AspireExport("addAzureProvisioning", Description = "Adds Azure provisioning services to the distributed application builder")]
Aspire.Hosting.Azure.AppConfiguration (6)
AzureAppConfigurationExtensions.cs (6)
32[AspireExport("addAzureAppConfiguration", Description = "Adds an Azure App Configuration resource")] 96[AspireExport("runAsEmulator", Description = "Configures Azure App Configuration to run with the local emulator", RunSyncOnBackgroundThread = true)] 130[AspireExport("withDataBindMount", Description = "Adds a data bind mount for the App Configuration emulator")] 144[AspireExport("withDataVolume", Description = "Adds a data volume for the App Configuration emulator")] 158[AspireExport("withHostPort", Description = "Sets the host port for the App Configuration emulator")] 211[AspireExport("withAppConfigurationRoleAssignments", Description = "Assigns App Configuration roles to a resource")]
Aspire.Hosting.Azure.AppContainers (13)
AzureContainerAppContainerExtensions.cs (1)
34[AspireExport("publishContainerAsAzureContainerApp", MethodName = "publishAsAzureContainerApp", Description = "Configures the container resource to be published as an Azure Container App")]
AzureContainerAppExecutableExtensions.cs (1)
34[AspireExport("publishExecutableAsAzureContainerApp", MethodName = "publishAsAzureContainerApp", Description = "Configures the executable resource to be published as an Azure Container App")]
AzureContainerAppExtensions.cs (6)
59[AspireExport("addAzureContainerAppEnvironment", Description = "Adds an Azure Container App Environment resource")] 413[AspireExport("withAzdResourceNaming", Description = "Configures resources to use azd naming conventions")] 443[AspireExport("withCompactResourceNaming", Description = "Configures resources to use compact naming for length-constrained Azure resources")] 457[AspireExport("withDashboard", Description = "Configures whether the Aspire dashboard is included in the container app environment")] 476[AspireExport("withHttpsUpgrade", Description = "Configures whether HTTP endpoints are upgraded to HTTPS")] 490[AspireExport("withAzureLogAnalyticsWorkspace", Description = "Configures the container app environment to use a specific Log Analytics Workspace")]
AzureContainerAppProjectExtensions.cs (1)
34[AspireExport("publishProjectAsAzureContainerApp", MethodName = "publishAsAzureContainerApp", Description = "Configures the project resource to be published as an Azure Container App")]
ContainerAppExtensions.cs (4)
154[AspireExport("publishAsConfiguredAzureContainerAppJob", Description = "Configures the compute resource as an Azure Container App Job with custom configuration")] 192[AspireExport("publishAsAzureContainerAppJob", Description = "Configures the compute resource as a manually triggered Azure Container App Job")] 226[AspireExport("publishAsConfiguredScheduledAzureContainerAppJob", Description = "Configures the compute resource as a scheduled Azure Container App Job with custom configuration")] 253[AspireExport("publishAsScheduledAzureContainerAppJob", Description = "Configures the compute resource as a scheduled Azure Container App Job")]
Aspire.Hosting.Azure.ApplicationInsights (2)
AzureApplicationInsightsExtensions.cs (2)
23[AspireExport("addAzureApplicationInsights", Description = "Adds an Azure Application Insights resource")] 148[AspireExport("withLogAnalyticsWorkspace", Description = "Configures the Application Insights resource to use a Log Analytics Workspace")]
Aspire.Hosting.Azure.AppService (10)
AzureAppServiceComputeResourceExtensions.cs (2)
33[AspireExport("publishAsAzureAppServiceWebsite", Description = "Publishes the compute resource as an Azure App Service website or deployment slot")] 78[AspireExport("skipEnvironmentVariableNameChecks", Description = "Skips Azure App Service environment variable name validation for the compute resource")]
AzureAppServiceEnvironmentExtensions.cs (8)
43[AspireExport("addAzureAppServiceEnvironment", Description = "Adds an Azure App Service environment resource")] 235[AspireExport("withDashboard", Description = "Configures whether the Aspire dashboard is included in the Azure App Service environment")] 247[AspireExport("withAzureApplicationInsights", Description = "Enables Azure Application Insights for the Azure App Service environment")] 261[AspireExport("withAzureApplicationInsightsLocation", Description = "Enables Azure Application Insights for the Azure App Service environment with a specific location")] 275[AspireExport("withAzureApplicationInsightsLocationParameter", Description = "Enables Azure Application Insights for the Azure App Service environment using a location parameter")] 289[AspireExport("withAzureApplicationInsightsResource", Description = "Enables Azure Application Insights for the Azure App Service environment using an existing Application Insights resource")] 303[AspireExport("withDeploymentSlotParameter", Description = "Configures the deployment slot for all Azure App Services in the environment using a parameter")] 319[AspireExport("withDeploymentSlot", Description = "Configures the deployment slot for all Azure App Services in the environment")]
Aspire.Hosting.Azure.CognitiveServices (4)
AzureOpenAIExtensions.cs (4)
31[AspireExport("addAzureOpenAI", Description = "Adds an Azure OpenAI resource")] 174[AspireExport("addDeployment", Description = "Adds an Azure OpenAI deployment resource")] 194[AspireExport("withProperties", Description = "Configures properties of an Azure OpenAI deployment", RunSyncOnBackgroundThread = true)] 247[AspireExport("withCognitiveServicesRoleAssignments", Description = "Assigns Cognitive Services roles to a resource")]
Aspire.Hosting.Azure.ContainerRegistry (5)
AzureContainerRegistryExtensions.cs (5)
30[AspireExport("addAzureContainerRegistry", Description = "Adds an Azure Container Registry resource to the distributed application model.")] 104[AspireExport("withContainerRegistryAzureContainerRegistry", MethodName = "withAzureContainerRegistry", Description = "Configures a compute environment resource to use an Azure Container Registry.")] 126[AspireExport("getAzureContainerRegistry", Description = "Gets the Azure Container Registry associated with a compute environment resource.")] 166[AspireExport("withPurgeTask", Description = "Configures a purge task for the Azure Container Registry resource.")] 288[AspireExport("withContainerRegistryRoleAssignments", Description = "Assigns Azure Container Registry roles to a resource.")]
Aspire.Hosting.Azure.CosmosDB (13)
AzureCosmosDBExtensions.cs (13)
35[AspireExport("addAzureCosmosDB", Description = "Adds an Azure Cosmos DB resource")] 60[AspireExport("runAsEmulator", Description = "Configures the Azure Cosmos DB resource to run using the local emulator", RunSyncOnBackgroundThread = true)] 74[AspireExport("runAsPreviewEmulator", Description = "Configures the Azure Cosmos DB resource to run using the preview emulator", RunSyncOnBackgroundThread = true)] 236[AspireExport("withDataVolume", Description = "Adds a named volume for the data folder to an Azure Cosmos DB emulator resource")] 253[AspireExport("withGatewayPort", Description = "Sets the host port for the Cosmos DB emulator gateway endpoint")] 273[AspireExport("withPartitionCount", Description = "Sets the partition count for the Azure Cosmos DB emulator")] 317[AspireExport("addCosmosDatabase", Description = "Adds an Azure Cosmos DB database resource")] 340[AspireExport("addContainer", Description = "Adds an Azure Cosmos DB container resource")] 364[AspireExport("addContainerWithPartitionKeyPaths", Description = "Adds an Azure Cosmos DB container resource with hierarchical partition keys")] 396[AspireExport("withDefaultAzureSku", Description = "Configures Azure Cosmos DB to use the default Azure SKU")] 412[AspireExport("withDataExplorer", Description = "Exposes the Data Explorer endpoint for the preview emulator")] 475[AspireExport("withAccessKeyAuthentication", Description = "Configures Azure Cosmos DB to use access key authentication")] 506[AspireExport("withAccessKeyAuthenticationWithKeyVault", Description = "Configures Azure Cosmos DB access key authentication using a specified Azure Key Vault resource")]
Aspire.Hosting.Azure.EventHubs (8)
AzureEventHubsExtensions.cs (8)
40[AspireExport("addAzureEventHubs", Description = "Adds an Azure Event Hubs namespace resource")] 155[AspireExport("addHub", Description = "Adds an Azure Event Hub resource")] 176[AspireExport("withProperties", Description = "Configures properties of an Azure Event Hub", RunSyncOnBackgroundThread = true)] 194[AspireExport("addConsumerGroup", Description = "Adds an Azure Event Hub consumer group resource")] 240[AspireExport("runAsEmulator", Description = "Configures the Azure Event Hubs resource to run with the local emulator", RunSyncOnBackgroundThread = true)] 407[AspireExport("withHostPort", Description = "Sets the host port for the Event Hubs emulator endpoint")] 424[AspireExport("withConfigurationFile", Description = "Sets the emulator configuration file path")] 532[AspireExport("withEventHubsRoleAssignments", Description = "Assigns Event Hubs roles to a resource")]
Aspire.Hosting.Azure.Functions (2)
AzureFunctionsProjectResourceExtensions.cs (2)
119[AspireExport("addAzureFunctionsProject", Description = "Adds an Azure Functions project to the distributed application")] 319[AspireExport("withHostStorage", Description = "Configures the Azure Functions project to use specified Azure Storage as host storage")]
Aspire.Hosting.Azure.KeyVault (7)
AzureKeyVaultResourceExtensions.cs (7)
61[AspireExport("addAzureKeyVault", Description = "Adds an Azure Key Vault resource")] 189[AspireExport("withKeyVaultRoleAssignments", Description = "Assigns Key Vault roles to a resource")] 232[AspireExport("getSecret", Description = "Gets a secret reference from the Azure Key Vault")] 247[AspireExport("addSecret", Description = "Adds a secret to the Azure Key Vault from a parameter resource")] 284[AspireExport("addSecretFromExpression", Description = "Adds a secret to the Azure Key Vault from a reference expression")] 306[AspireExport("addSecretWithName", Description = "Adds a named secret to the Azure Key Vault from a parameter resource")] 345[AspireExport("addSecretWithNameFromExpression", Description = "Adds a named secret to the Azure Key Vault from a reference expression")]
Aspire.Hosting.Azure.Kusto (5)
AzureKustoBuilderExtensions.cs (5)
44[AspireExport("addAzureKustoCluster", Description = "Adds an Azure Data Explorer (Kusto) cluster resource")] 106[AspireExport("addReadWriteDatabase", Description = "Adds a Kusto read-write database resource")] 152[AspireExport("runAsEmulator", Description = "Configures the Kusto cluster to run using the local emulator", RunSyncOnBackgroundThread = true)] 197[AspireExport("withCreationScript", Description = "Defines the KQL script used to create the database")] 215[AspireExport("withHostPort", Description = "Sets the host port for the Kusto emulator endpoint")]
Aspire.Hosting.Azure.Network (17)
AzureNatGatewayExtensions.cs (2)
38[AspireExport("addNatGateway", Description = "Adds an Azure NAT Gateway resource to the application model.")] 75[AspireExport("withPublicIPAddress", Description = "Associates an Azure Public IP Address resource with an Azure NAT Gateway resource.")]
AzureNetworkSecurityGroupExtensions.cs (2)
37[AspireExport("addNetworkSecurityGroup", Description = "Adds an Azure Network Security Group resource to the application model.")] 87[AspireExport("withSecurityRule", Description = "Adds a security rule to an Azure Network Security Group resource.")]
AzurePrivateEndpointExtensions.cs (1)
49[AspireExport("addPrivateEndpoint", Description = "Adds an Azure Private Endpoint resource to an Azure subnet resource.")]
AzurePublicIPAddressExtensions.cs (1)
33[AspireExport("addPublicIPAddress", Description = "Adds an Azure Public IP Address resource to the application model.")]
AzureVirtualNetworkExtensions.cs (11)
31[AspireExport("addAzureVirtualNetwork", Description = "Adds an Azure Virtual Network resource to the application model.")] 62[AspireExport("addAzureVirtualNetworkFromParameter", MethodName = "addAzureVirtualNetwork", Description = "Adds an Azure Virtual Network resource to the application model with a parameterized address prefix.")] 170[AspireExport("addSubnet", Description = "Adds an Azure subnet resource to an Azure Virtual Network resource.")] 204[AspireExport("addSubnetFromParameter", MethodName = "addSubnet", Description = "Adds an Azure subnet resource with a parameterized address prefix to an Azure Virtual Network resource.")] 259[AspireExport("withSubnetDelegatedSubnet", MethodName = "withDelegatedSubnet", Description = "Associates a delegated Azure subnet resource with an Azure resource that supports subnet delegation.")] 301[AspireExport("withNatGateway", Description = "Associates an Azure NAT Gateway resource with an Azure subnet resource.")] 333[AspireExport("withNetworkSecurityGroup", Description = "Associates an Azure Network Security Group resource with an Azure subnet resource.")] 375[AspireExport("allowInbound", Description = "Adds an inbound allow rule to the Azure subnet resource's Network Security Group.")] 402[AspireExport("denyInbound", Description = "Adds an inbound deny rule to the Azure subnet resource's Network Security Group.")] 429[AspireExport("allowOutbound", Description = "Adds an outbound allow rule to the Azure subnet resource's Network Security Group.")] 456[AspireExport("denyOutbound", Description = "Adds an outbound deny rule to the Azure subnet resource's Network Security Group.")]
Aspire.Hosting.Azure.OperationalInsights (1)
AzureLogAnalyticsWorkspaceExtensions.cs (1)
22[AspireExport("addAzureLogAnalyticsWorkspace", Description = "Adds an Azure Log Analytics Workspace resource")]
Aspire.Hosting.Azure.PostgreSQL (6)
AzurePostgresExtensions.cs (6)
140[AspireExport("addAzurePostgresFlexibleServer", Description = "Adds an Azure PostgreSQL Flexible Server resource")] 161[AspireExport("addDatabase", Description = "Adds an Azure PostgreSQL database")] 214[AspireExport("runAsContainer", Description = "Configures the Azure PostgreSQL Flexible Server resource to run locally in a container", RunSyncOnBackgroundThread = true)] 294[AspireExport("withPasswordAuthentication", Description = "Configures password authentication for Azure PostgreSQL Flexible Server")] 331[AspireExport("withPasswordAuthenticationWithKeyVault", Description = "Configures password authentication using a specified Azure Key Vault resource")] 388[AspireExport("withPostgresMcp", Description = "Adds a Postgres MCP server container", RunSyncOnBackgroundThread = true)]
Aspire.Hosting.Azure.Redis (4)
AzureManagedRedisExtensions.cs (4)
46[AspireExport("addAzureManagedRedis", Description = "Adds an Azure Managed Redis resource")] 84[AspireExport("runAsContainer", Description = "Configures Azure Managed Redis to run in a local container", RunSyncOnBackgroundThread = true)] 129[AspireExport("withAccessKeyAuthentication", Description = "Configures Azure Managed Redis to use access key authentication")] 160[AspireExport("withAccessKeyAuthenticationWithKeyVault", Description = "Configures Azure Managed Redis to use access key authentication with a specific Key Vault")]
Aspire.Hosting.Azure.Search (2)
AzureSearchExtensions.cs (2)
33[AspireExport("addAzureSearch", Description = "Adds an Azure AI Search service resource")] 149[AspireExport("withSearchRoleAssignments", Description = "Assigns Azure AI Search roles to a resource")]
Aspire.Hosting.Azure.ServiceBus (11)
AzureServiceBusExtensions.cs (11)
40[AspireExport("addAzureServiceBus", Description = "Adds an Azure Service Bus namespace resource")] 169[AspireExport("addServiceBusQueue", Description = "Adds an Azure Service Bus queue resource")] 190[AspireExport("withQueueProperties", MethodName = "withProperties", Description = "Configures properties of an Azure Service Bus queue", RunSyncOnBackgroundThread = true)] 252[AspireExport("addServiceBusTopic", Description = "Adds an Azure Service Bus topic resource")] 273[AspireExport("withTopicProperties", MethodName = "withProperties", Description = "Configures properties of an Azure Service Bus topic", RunSyncOnBackgroundThread = true)] 322[AspireExport("addServiceBusSubscription", Description = "Adds an Azure Service Bus subscription resource")] 343[AspireExport("withSubscriptionProperties", MethodName = "withProperties", Description = "Configures properties of an Azure Service Bus subscription", RunSyncOnBackgroundThread = true)] 379[AspireExport("runAsEmulator", Description = "Configures the Azure Service Bus resource to run with the local emulator", RunSyncOnBackgroundThread = true)] 516[AspireExport("withConfigurationFile", Description = "Sets the emulator configuration file path")] 565[AspireExport("withHostPort", Description = "Sets the host port for the Service Bus emulator endpoint")] 685[AspireExport("withServiceBusRoleAssignments", Description = "Assigns Service Bus roles to a resource")]
Aspire.Hosting.Azure.SignalR (3)
AzureSignalRExtensions.cs (3)
130[AspireExport("addAzureSignalR", Description = "Adds an Azure SignalR resource to the application model.")] 143[AspireExport("runAsEmulator", Description = "Configures an Azure SignalR resource to be emulated. This resource requires an Azure SignalR resource to be added to the application model. Please note that the resource will be emulated in Serverless mode.", RunSyncOnBackgroundThread = true)] 214[AspireExport("withSignalRRoleAssignments", Description = "Assigns Azure SignalR roles to a resource")]
Aspire.Hosting.Azure.Sql (5)
AzureSqlExtensions.cs (5)
79[AspireExport("addAzureSqlServer", Description = "Adds an Azure SQL Database server resource")] 109[AspireExport("addDatabase", Description = "Adds an Azure SQL database resource")] 145[AspireExport("withDefaultAzureSku", Description = "Configures the Azure SQL database to use the default Azure SKU")] 175[AspireExport("runAsContainer", Description = "Configures the Azure SQL server to run locally in a SQL Server container", RunSyncOnBackgroundThread = true)] 441[AspireExport("withAdminDeploymentScriptStorage", Description = "Configures the Azure SQL server to use a specific storage account for deployment scripts")]
Aspire.Hosting.Azure.Storage (16)
AzureStorageExtensions.cs (16)
39[AspireExport("addAzureStorage", Description = "Adds an Azure Storage resource")] 177[AspireExport("runAsEmulator", Description = "Configures the Azure Storage resource to be emulated using Azurite", RunSyncOnBackgroundThread = true)] 272[AspireExport("withDataBindMount", Description = "Adds a bind mount for the data folder to an Azure Storage emulator resource")] 287[AspireExport("withDataVolume", Description = "Adds a named volume for the data folder to an Azure Storage emulator resource")] 301[AspireExport("withBlobPort", Description = "Sets the host port for blob requests on the storage emulator")] 318[AspireExport("withQueuePort", Description = "Sets the host port for queue requests on the storage emulator")] 335[AspireExport("withTablePort", Description = "Sets the host port for table requests on the storage emulator")] 352[AspireExport("withApiVersionCheck", Description = "Configures whether the emulator checks API version validity")] 377[AspireExport("addBlobs", Description = "Adds an Azure Blob Storage resource")] 399[AspireExport("addDataLake", Description = "Adds an Azure Data Lake Storage resource")] 464[AspireExport("addBlobContainer", Description = "Adds an Azure Blob Storage container resource")] 501[AspireExport("addDataLakeFileSystem", Description = "Adds an Azure Data Lake Storage file system resource")] 560[AspireExport("addTables", Description = "Adds an Azure Table Storage resource")] 575[AspireExport("addQueues", Description = "Adds an Azure Queue Storage resource")] 612[AspireExport("addQueue", Description = "Adds an Azure Storage queue resource")] 713[AspireExport("withStorageRoleAssignments", Description = "Assigns Azure Storage roles to a resource")]
Aspire.Hosting.Azure.WebPubSub (4)
AzureWebPubSubExtensions.cs (4)
34[AspireExport("addAzureWebPubSub", Description = "Adds an Azure Web PubSub resource to the distributed application model.")] 174[AspireExport("addHub", Description = "Adds a hub to the Azure Web PubSub resource.")] 256[AspireExport("addEventHandlerWithoutAuth", MethodName = "addEventHandler", Description = "Adds an event handler to an Azure Web PubSub hub.")] 330[AspireExport("withWebPubSubRoleAssignments", Description = "Assigns Azure Web PubSub roles to a resource")]
Aspire.Hosting.CodeGeneration.Go.Tests (31)
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\TestTypes\TestExtensions.cs (31)
16[AspireExport("addTestRedis", Description = "Adds a test Redis resource")] 49[AspireExport("addTestChildDatabase", Description = "Adds a child database to a test Redis resource")] 65[AspireExport("withPersistence", Description = "Configures the Redis resource with persistence")] 87[AspireExport("withOptionalString", Description = "Adds an optional string parameter")] 392[AspireExport("withConfig", Description = "Configures the resource with a DTO")] 403[AspireExport("getTags", Description = "Gets the tags for the resource")] 412[AspireExport("getMetadata", Description = "Gets the metadata for the resource")] 421[AspireExport("withConnectionString", Description = "Sets the connection string using a reference expression")] 433[AspireExport("testWithEnvironmentCallback", Description = "Configures environment with callback (test version)")] 444[AspireExport("withCreatedAt", Description = "Sets the created timestamp")] 455[AspireExport("withModifiedAt", Description = "Sets the modified timestamp")] 466[AspireExport("withCorrelationId", Description = "Sets the correlation ID")] 477[AspireExport("withOptionalCallback", Description = "Configures with optional callback")] 489[AspireExport("withStatus", Description = "Sets the resource status")] 500[AspireExport("withNestedConfig", Description = "Configures with nested DTO")] 511[AspireExport("withValidator", Description = "Adds validation callback")] 523[AspireExport("testWaitFor", Description = "Waits for another resource (test version)")] 534[AspireExport("getEndpoints", Description = "Gets the endpoints")] 547[AspireExport("withConnectionStringDirect", Description = "Sets connection string using direct interface target")] 560[AspireExport("withRedisSpecific", Description = "Redis-specific configuration")] 572[AspireExport("withDependency", Description = "Adds a dependency on another resource")] 583[AspireExport("withEndpoints", Description = "Sets the endpoints")] 594[AspireExport("withEnvironmentVariables", Description = "Sets environment variables")] 607[AspireExport("getStatusAsync", Description = "Gets the status of the resource asynchronously")] 618[AspireExport("withCancellableOperation", Description = "Performs a cancellable operation")] 629[AspireExport("waitForReadyAsync", Description = "Waits for the resource to be ready")] 643[AspireExport("withMultiParamHandleCallback", Description = "Tests multi-param callback destructuring")] 657[AspireExport("withDataVolume", Description = "Adds a data volume with persistence")] 671[AspireExport("withDataVolume", Description = "Adds a data volume")] 684[AspireExport("addTestVault", Description = "Adds a test vault resource")] 697[AspireExport("withVaultDirect", Description = "Configures vault using direct interface target")]
Aspire.Hosting.CodeGeneration.Java.Tests (31)
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\TestTypes\TestExtensions.cs (31)
16[AspireExport("addTestRedis", Description = "Adds a test Redis resource")] 49[AspireExport("addTestChildDatabase", Description = "Adds a child database to a test Redis resource")] 65[AspireExport("withPersistence", Description = "Configures the Redis resource with persistence")] 87[AspireExport("withOptionalString", Description = "Adds an optional string parameter")] 392[AspireExport("withConfig", Description = "Configures the resource with a DTO")] 403[AspireExport("getTags", Description = "Gets the tags for the resource")] 412[AspireExport("getMetadata", Description = "Gets the metadata for the resource")] 421[AspireExport("withConnectionString", Description = "Sets the connection string using a reference expression")] 433[AspireExport("testWithEnvironmentCallback", Description = "Configures environment with callback (test version)")] 444[AspireExport("withCreatedAt", Description = "Sets the created timestamp")] 455[AspireExport("withModifiedAt", Description = "Sets the modified timestamp")] 466[AspireExport("withCorrelationId", Description = "Sets the correlation ID")] 477[AspireExport("withOptionalCallback", Description = "Configures with optional callback")] 489[AspireExport("withStatus", Description = "Sets the resource status")] 500[AspireExport("withNestedConfig", Description = "Configures with nested DTO")] 511[AspireExport("withValidator", Description = "Adds validation callback")] 523[AspireExport("testWaitFor", Description = "Waits for another resource (test version)")] 534[AspireExport("getEndpoints", Description = "Gets the endpoints")] 547[AspireExport("withConnectionStringDirect", Description = "Sets connection string using direct interface target")] 560[AspireExport("withRedisSpecific", Description = "Redis-specific configuration")] 572[AspireExport("withDependency", Description = "Adds a dependency on another resource")] 583[AspireExport("withEndpoints", Description = "Sets the endpoints")] 594[AspireExport("withEnvironmentVariables", Description = "Sets environment variables")] 607[AspireExport("getStatusAsync", Description = "Gets the status of the resource asynchronously")] 618[AspireExport("withCancellableOperation", Description = "Performs a cancellable operation")] 629[AspireExport("waitForReadyAsync", Description = "Waits for the resource to be ready")] 643[AspireExport("withMultiParamHandleCallback", Description = "Tests multi-param callback destructuring")] 657[AspireExport("withDataVolume", Description = "Adds a data volume with persistence")] 671[AspireExport("withDataVolume", Description = "Adds a data volume")] 684[AspireExport("addTestVault", Description = "Adds a test vault resource")] 697[AspireExport("withVaultDirect", Description = "Configures vault using direct interface target")]
Aspire.Hosting.CodeGeneration.Python.Tests (31)
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\TestTypes\TestExtensions.cs (31)
16[AspireExport("addTestRedis", Description = "Adds a test Redis resource")] 49[AspireExport("addTestChildDatabase", Description = "Adds a child database to a test Redis resource")] 65[AspireExport("withPersistence", Description = "Configures the Redis resource with persistence")] 87[AspireExport("withOptionalString", Description = "Adds an optional string parameter")] 392[AspireExport("withConfig", Description = "Configures the resource with a DTO")] 403[AspireExport("getTags", Description = "Gets the tags for the resource")] 412[AspireExport("getMetadata", Description = "Gets the metadata for the resource")] 421[AspireExport("withConnectionString", Description = "Sets the connection string using a reference expression")] 433[AspireExport("testWithEnvironmentCallback", Description = "Configures environment with callback (test version)")] 444[AspireExport("withCreatedAt", Description = "Sets the created timestamp")] 455[AspireExport("withModifiedAt", Description = "Sets the modified timestamp")] 466[AspireExport("withCorrelationId", Description = "Sets the correlation ID")] 477[AspireExport("withOptionalCallback", Description = "Configures with optional callback")] 489[AspireExport("withStatus", Description = "Sets the resource status")] 500[AspireExport("withNestedConfig", Description = "Configures with nested DTO")] 511[AspireExport("withValidator", Description = "Adds validation callback")] 523[AspireExport("testWaitFor", Description = "Waits for another resource (test version)")] 534[AspireExport("getEndpoints", Description = "Gets the endpoints")] 547[AspireExport("withConnectionStringDirect", Description = "Sets connection string using direct interface target")] 560[AspireExport("withRedisSpecific", Description = "Redis-specific configuration")] 572[AspireExport("withDependency", Description = "Adds a dependency on another resource")] 583[AspireExport("withEndpoints", Description = "Sets the endpoints")] 594[AspireExport("withEnvironmentVariables", Description = "Sets environment variables")] 607[AspireExport("getStatusAsync", Description = "Gets the status of the resource asynchronously")] 618[AspireExport("withCancellableOperation", Description = "Performs a cancellable operation")] 629[AspireExport("waitForReadyAsync", Description = "Waits for the resource to be ready")] 643[AspireExport("withMultiParamHandleCallback", Description = "Tests multi-param callback destructuring")] 657[AspireExport("withDataVolume", Description = "Adds a data volume with persistence")] 671[AspireExport("withDataVolume", Description = "Adds a data volume")] 684[AspireExport("addTestVault", Description = "Adds a test vault resource")] 697[AspireExport("withVaultDirect", Description = "Configures vault using direct interface target")]
Aspire.Hosting.CodeGeneration.Rust.Tests (31)
tests\Aspire.Hosting.CodeGeneration.TypeScript.Tests\TestTypes\TestExtensions.cs (31)
16[AspireExport("addTestRedis", Description = "Adds a test Redis resource")] 49[AspireExport("addTestChildDatabase", Description = "Adds a child database to a test Redis resource")] 65[AspireExport("withPersistence", Description = "Configures the Redis resource with persistence")] 87[AspireExport("withOptionalString", Description = "Adds an optional string parameter")] 392[AspireExport("withConfig", Description = "Configures the resource with a DTO")] 403[AspireExport("getTags", Description = "Gets the tags for the resource")] 412[AspireExport("getMetadata", Description = "Gets the metadata for the resource")] 421[AspireExport("withConnectionString", Description = "Sets the connection string using a reference expression")] 433[AspireExport("testWithEnvironmentCallback", Description = "Configures environment with callback (test version)")] 444[AspireExport("withCreatedAt", Description = "Sets the created timestamp")] 455[AspireExport("withModifiedAt", Description = "Sets the modified timestamp")] 466[AspireExport("withCorrelationId", Description = "Sets the correlation ID")] 477[AspireExport("withOptionalCallback", Description = "Configures with optional callback")] 489[AspireExport("withStatus", Description = "Sets the resource status")] 500[AspireExport("withNestedConfig", Description = "Configures with nested DTO")] 511[AspireExport("withValidator", Description = "Adds validation callback")] 523[AspireExport("testWaitFor", Description = "Waits for another resource (test version)")] 534[AspireExport("getEndpoints", Description = "Gets the endpoints")] 547[AspireExport("withConnectionStringDirect", Description = "Sets connection string using direct interface target")] 560[AspireExport("withRedisSpecific", Description = "Redis-specific configuration")] 572[AspireExport("withDependency", Description = "Adds a dependency on another resource")] 583[AspireExport("withEndpoints", Description = "Sets the endpoints")] 594[AspireExport("withEnvironmentVariables", Description = "Sets environment variables")] 607[AspireExport("getStatusAsync", Description = "Gets the status of the resource asynchronously")] 618[AspireExport("withCancellableOperation", Description = "Performs a cancellable operation")] 629[AspireExport("waitForReadyAsync", Description = "Waits for the resource to be ready")] 643[AspireExport("withMultiParamHandleCallback", Description = "Tests multi-param callback destructuring")] 657[AspireExport("withDataVolume", Description = "Adds a data volume with persistence")] 671[AspireExport("withDataVolume", Description = "Adds a data volume")] 684[AspireExport("addTestVault", Description = "Adds a test vault resource")] 697[AspireExport("withVaultDirect", Description = "Configures vault using direct interface target")]
Aspire.Hosting.CodeGeneration.TypeScript.Tests (31)
TestTypes\TestExtensions.cs (31)
16[AspireExport("addTestRedis", Description = "Adds a test Redis resource")] 49[AspireExport("addTestChildDatabase", Description = "Adds a child database to a test Redis resource")] 65[AspireExport("withPersistence", Description = "Configures the Redis resource with persistence")] 87[AspireExport("withOptionalString", Description = "Adds an optional string parameter")] 392[AspireExport("withConfig", Description = "Configures the resource with a DTO")] 403[AspireExport("getTags", Description = "Gets the tags for the resource")] 412[AspireExport("getMetadata", Description = "Gets the metadata for the resource")] 421[AspireExport("withConnectionString", Description = "Sets the connection string using a reference expression")] 433[AspireExport("testWithEnvironmentCallback", Description = "Configures environment with callback (test version)")] 444[AspireExport("withCreatedAt", Description = "Sets the created timestamp")] 455[AspireExport("withModifiedAt", Description = "Sets the modified timestamp")] 466[AspireExport("withCorrelationId", Description = "Sets the correlation ID")] 477[AspireExport("withOptionalCallback", Description = "Configures with optional callback")] 489[AspireExport("withStatus", Description = "Sets the resource status")] 500[AspireExport("withNestedConfig", Description = "Configures with nested DTO")] 511[AspireExport("withValidator", Description = "Adds validation callback")] 523[AspireExport("testWaitFor", Description = "Waits for another resource (test version)")] 534[AspireExport("getEndpoints", Description = "Gets the endpoints")] 547[AspireExport("withConnectionStringDirect", Description = "Sets connection string using direct interface target")] 560[AspireExport("withRedisSpecific", Description = "Redis-specific configuration")] 572[AspireExport("withDependency", Description = "Adds a dependency on another resource")] 583[AspireExport("withEndpoints", Description = "Sets the endpoints")] 594[AspireExport("withEnvironmentVariables", Description = "Sets environment variables")] 607[AspireExport("getStatusAsync", Description = "Gets the status of the resource asynchronously")] 618[AspireExport("withCancellableOperation", Description = "Performs a cancellable operation")] 629[AspireExport("waitForReadyAsync", Description = "Waits for the resource to be ready")] 643[AspireExport("withMultiParamHandleCallback", Description = "Tests multi-param callback destructuring")] 657[AspireExport("withDataVolume", Description = "Adds a data volume with persistence")] 671[AspireExport("withDataVolume", Description = "Adds a data volume")] 684[AspireExport("addTestVault", Description = "Adds a test vault resource")] 697[AspireExport("withVaultDirect", Description = "Configures vault using direct interface target")]
Aspire.Hosting.DevTunnels (6)
DevTunnelResourceBuilderExtensions.cs (6)
237[AspireExport("addDevTunnel", Description = "Adds a Dev Tunnel resource to the distributed application model.")] 259[AspireExport("withReferenceResourceAnonymous", MethodName = "withTunnelReferenceAll", Description = "Configures the dev tunnel to expose all endpoints on the referenced resource.")] 308[AspireExport("withReferenceEndpoint", MethodName = "withTunnelReference", Description = "Configures the dev tunnel to expose a target endpoint.")] 321[AspireExport("withReferenceEndpointAnonymous", MethodName = "withTunnelReferenceAnonymous", Description = "Configures the dev tunnel to expose a target endpoint with access control.")] 360[AspireExport("withAnonymousAccess", Description = "Configures the dev tunnel to allow anonymous access.")] 424[AspireExport("getEndpointByEndpointReference", MethodName = "getTunnelEndpoint", Description = "Gets the public endpoint exposed by the dev tunnel.")]
Aspire.Hosting.Docker (7)
DockerComposeAspireDashboardResourceBuilderExtensions.cs (2)
55[AspireExport("withHostPort", Description = "Sets the host port for the Aspire dashboard")] 78[AspireExport("withForwardedHeaders", Description = "Enables or disables forwarded headers support for the Aspire dashboard")]
DockerComposeEnvironmentExtensions.cs (4)
29[AspireExport("addDockerComposeEnvironment", Description = "Adds a Docker Compose publishing environment")] 65[AspireExport("withProperties", Description = "Configures properties of the Docker Compose environment", RunSyncOnBackgroundThread = true)] 122[AspireExport("withDashboard", Description = "Enables or disables the Aspire dashboard for the Docker Compose environment")] 138[AspireExport("configureDashboard", MethodName = "configureDashboard", Description = "Configures the Aspire dashboard resource for the Docker Compose environment", RunSyncOnBackgroundThread = true)]
DockerComposeServiceExtensions.cs (1)
34[AspireExport("publishAsDockerComposeService", Description = "Publishes the resource as a Docker Compose service with custom service configuration")]
Aspire.Hosting.Foundry (18)
FoundryExtensions.cs (6)
31[AspireExport("addFoundry", Description = "Adds a Microsoft Foundry resource to the distributed application model.")] 51[AspireExport("addDeployment", Description = "Adds a Microsoft Foundry deployment resource to a Microsoft Foundry resource.")] 95[AspireExport("addDeploymentFromModel", Description = "Adds a Microsoft Foundry deployment resource by using a Microsoft Foundry model descriptor.")] 114[AspireExport("withFoundryDeploymentProperties", MethodName = "withProperties", Description = "Configures properties of a Microsoft Foundry deployment resource.", RunSyncOnBackgroundThread = true)] 130[AspireExport("runAsFoundryLocal", Description = "Configures the Microsoft Foundry resource to run by using Foundry Local.")] 211[AspireExport("withFoundryRoleAssignments", MethodName = "withRoleAssignments", Description = "Assigns Microsoft Foundry roles to a resource")]
HostedAgent\HostedAgentBuilderExtension.cs (1)
320[AspireExport("addAndPublishPromptAgent", Description = "Adds and publishes a prompt agent to a Microsoft Foundry project.")]
Project\ConnectionBuilderExtensions.cs (4)
103[AspireExport("addCosmosConnection", Description = "Adds an Azure Cosmos DB connection to a Microsoft Foundry project.")] 143[AspireExport("addStorageConnection", Description = "Adds an Azure Storage connection to a Microsoft Foundry project.")] 189[AspireExport("addContainerRegistryConnection", Description = "Adds an Azure Container Registry connection to a Microsoft Foundry project.")] 205[AspireExport("addKeyVaultConnection", Description = "Adds an Azure Key Vault connection to a Microsoft Foundry project.")]
Project\ProjectBuilderExtension.cs (7)
36[AspireExport("addProject", Description = "Adds a Microsoft Foundry project resource to a Microsoft Foundry resource.")] 57[AspireExport("addFoundryProject", Description = "Adds a Microsoft Foundry project resource and its parent Microsoft Foundry resource to the application model.")] 73[AspireExport("withContainerRegistry", Description = "Associates a container registry with a Microsoft Foundry project resource.")] 127[AspireExport("withKeyVault", Description = "Associates an Azure Key Vault resource with a Microsoft Foundry project.")] 152[AspireExport("withAppInsights", Description = "Associates an Azure Application Insights resource with a Microsoft Foundry project.")] 198[AspireExport("addModelDeploymentFromModel", Description = "Adds a model deployment to the parent Microsoft Foundry resource by using a model descriptor.")] 212[AspireExport("addModelDeployment", Description = "Adds a model deployment to the parent Microsoft Foundry resource.")]
Aspire.Hosting.Garnet (4)
GarnetBuilderExtensions.cs (4)
177[AspireExport("addGarnet", Description = "Adds a Garnet container resource to the application model.")] 205[AspireExport("withDataVolume", Description = "Adds a persistent data volume to the Garnet resource.")] 241[AspireExport("withDataBindMount", Description = "Mounts a host directory as the Garnet data directory.")] 295[AspireExport("withPersistence", Description = "Configures snapshot persistence for the Garnet resource.")]
Aspire.Hosting.GitHub.Models (4)
GitHubModelsExtensions.cs (4)
118[AspireExport("addGitHubModel", Description = "Adds a GitHub Model resource to the distributed application model.")] 132[AspireExport("addGitHubModelById", Description = "Adds a GitHub Model resource using a model identifier string.")] 145[AspireExport("withApiKey", Description = "Configures the API key for the GitHub Model resource.")] 188[AspireExport("enableHealthCheck", Description = "Adds a health check for the GitHub Model resource.")]
Aspire.Hosting.JavaScript (11)
JavaScriptHostingExtensions.cs (11)
116[AspireExport("addNodeApp", Description = "Adds a Node.js application resource")] 330[AspireExport("addJavaScriptApp", Description = "Adds a JavaScript application resource")] 508[AspireExport("addViteApp", Description = "Adds a Vite application resource")] 670[AspireExport("withViteConfig", Description = "Configures a custom Vite configuration file")] 689[AspireExport("withNpm", Description = "Configures npm as the package manager")] 733[AspireExport("withBun", Description = "Configures Bun as the package manager")] 797[AspireExport("withYarn", Description = "Configures yarn as the package manager")] 872[AspireExport("withPnpm", Description = "Configures pnpm as the package manager")] 921[AspireExport("withBuildScript", Description = "Specifies an npm script to run before starting the application")] 940[AspireExport("withRunScript", Description = "Specifies an npm script to run during development")] 1031[AspireExport("withBrowserDebugger", Description = "Configures a browser debugger for the JavaScript application")]
Aspire.Hosting.Kafka (5)
KafkaBuilderExtensions.cs (5)
32[AspireExport("addKafka", Description = "Adds a Kafka container resource")] 92[AspireExport("withKafkaUI", Description = "Adds a Kafka UI container to manage the Kafka resource", RunSyncOnBackgroundThread = true)] 156[AspireExport("withHostPort", Description = "Sets the host port for the Kafka UI container")] 174[AspireExport("withDataVolume", Description = "Adds a data volume to the Kafka container")] 191[AspireExport("withDataBindMount", Description = "Adds a data bind mount to the Kafka container")]
Aspire.Hosting.Keycloak (8)
KeycloakResourceBuilderExtensions.cs (8)
51[AspireExport("addKeycloak", Description = "Adds a Keycloak container resource")] 149[AspireExport("withDataVolume", Description = "Adds a data volume for Keycloak")] 173[AspireExport("withDataBindMount", Description = "Adds a data bind mount for Keycloak")] 251[AspireExport("withEnabledFeatures", Description = "Enables Keycloak features")] 272[AspireExport("withDisabledFeatures", Description = "Disables Keycloak features")] 298[AspireExport("withOtlpExporter", Description = "Configures the OTLP exporter for Keycloak")] 322[AspireExport("withOtlpExporterWithProtocol", Description = "Configures the OTLP exporter for Keycloak with a specific protocol")] 337[AspireExport("withRealmImport", Description = "Imports a Keycloak realm configuration")]
Aspire.Hosting.Kubernetes (3)
KubernetesEnvironmentExtensions.cs (2)
29[AspireExport("addKubernetesEnvironment", Description = "Adds a Kubernetes publishing environment")] 60[AspireExport("withProperties", Description = "Configures properties of a Kubernetes environment", RunSyncOnBackgroundThread = true)]
KubernetesServiceExtensions.cs (1)
33[AspireExport("publishAsKubernetesService", Description = "Publishes the resource as a Kubernetes service")]
Aspire.Hosting.Maui (8)
MauiAndroidExtensions.cs (2)
145[AspireExport("addAndroidDevice", Description = "Adds an Android device resource for a .NET MAUI project.")] 339[AspireExport("addAndroidEmulator", Description = "Adds an Android emulator resource for a .NET MAUI project.")]
MauiiOSExtensions.cs (2)
152[AspireExport("addiOSDevice", Description = "Adds an iOS device resource for a .NET MAUI project.")] 347[AspireExport("addiOSSimulator", Description = "Adds an iOS simulator resource for a .NET MAUI project.")]
MauiMacCatalystExtensions.cs (1)
77[AspireExport("addMacCatalystDevice", Description = "Adds a Mac Catalyst platform resource for a .NET MAUI project.")]
MauiOtlpExtensions.cs (1)
52[AspireExport("withOtlpDevTunnel", Description = "Configures a .NET MAUI platform resource to send OpenTelemetry data through a development tunnel.")]
MauiProjectResourceExtensions.cs (1)
45[AspireExport("addMauiProject", Description = "Adds a .NET MAUI project to the application model.")]
MauiWindowsExtensions.cs (1)
77[AspireExport("addWindowsDevice", Description = "Adds a Windows platform resource for a .NET MAUI project.")]
Aspire.Hosting.Milvus (6)
MilvusBuilderExtensions.cs (6)
41[AspireExport("addMilvus", Description = "Adds a Milvus server resource to the distributed application model.")] 96[AspireExport("addDatabase", Description = "Adds a Milvus database resource to a Milvus server resource.")] 133[AspireExport("withAttu", Description = "Adds the Attu administration tool for Milvus.", RunSyncOnBackgroundThread = true)] 160[AspireExport("withDataVolume", Description = "Adds a persistent data volume to the Milvus server resource.")] 175[AspireExport("withDataBindMount", Description = "Mounts a host directory as the Milvus data directory.")] 205[AspireExport("withConfigurationFile", Description = "Copies a Milvus configuration file into the container.")]
Aspire.Hosting.MongoDB (7)
MongoDBBuilderExtensions.cs (7)
49[AspireExport("addMongoDB", Description = "Adds a MongoDB container resource")] 103[AspireExport("addDatabase", Description = "Adds a MongoDB database resource")] 152[AspireExport("withMongoExpress", Description = "Adds a MongoExpress administration platform for MongoDB", RunSyncOnBackgroundThread = true)] 180[AspireExport("withHostPort", Description = "Sets the host port for the Mongo Express resource")] 198[AspireExport("withDataVolume", Description = "Adds a named volume for the MongoDB data folder")] 213[AspireExport("withDataBindMount", Description = "Adds a bind mount for the MongoDB data folder")] 246[AspireExport("withInitFiles", Description = "Copies init files into a MongoDB container")]
Aspire.Hosting.MySql (9)
MySqlBuilderExtensions.cs (9)
34[AspireExport("addMySql", Description = "Adds a MySQL server resource")] 112[AspireExport("addDatabase", Description = "Adds a MySQL database")] 186[AspireExport("withCreationScript", Description = "Defines the SQL script for database creation")] 203[AspireExport("withPassword", Description = "Configures the MySQL password")] 223[AspireExport("withPhpMyAdmin", Description = "Adds phpMyAdmin management UI", RunSyncOnBackgroundThread = true)] 312[AspireExport("withHostPort", Description = "Sets the host port for phpMyAdmin")] 330[AspireExport("withDataVolume", Description = "Adds a data volume for MySQL")] 345[AspireExport("withDataBindMount", Description = "Adds a data bind mount for MySQL")] 376[AspireExport("withInitFiles", Description = "Copies init files to MySQL")]
Aspire.Hosting.Nats (4)
NatsBuilderExtensions.cs (4)
110[AspireExport("addNats", Description = "Adds a NATS server resource to the application model.")] 146[AspireExport("withJetStream", Description = "Configures the NATS resource to enable JetStream.")] 161[AspireExport("withDataVolume", Description = "Adds a persistent data volume to the NATS resource.")] 178[AspireExport("withDataBindMount", Description = "Mounts a host directory as the NATS data directory.")]
Aspire.Hosting.OpenAI (5)
OpenAIExtensions.cs (5)
22[AspireExport("addOpenAI", Description = "Adds an OpenAI resource to the distributed application model.")] 103[AspireExport("addModel", Description = "Adds an OpenAI model resource.")] 144[AspireExport("withEndpoint", Description = "Configures the endpoint URI for the OpenAI resource.")] 157[AspireExport("withApiKey", Description = "Configures the API key for the OpenAI resource.")] 200[AspireExport("withHealthCheck", Description = "Adds a health check for the OpenAI model resource.")]
Aspire.Hosting.Oracle (6)
OracleDatabaseBuilderExtensions.cs (6)
28[AspireExport("addOracle", Description = "Adds an Oracle server resource to the distributed application model.")] 77[AspireExport("addDatabase", Description = "Adds an Oracle database resource to an Oracle server resource.")] 100[AspireExport("withDataVolume", Description = "Adds a persistent data volume to the Oracle server resource.")] 114[AspireExport("withDataBindMount", Description = "Mounts a host directory as the Oracle data directory.")] 144[AspireExport("withInitFiles", Description = "Copies initialization files into the Oracle container.")] 163[AspireExport("withDbSetupBindMount", Description = "Mounts a host directory as the Oracle DB setup directory.")]
Aspire.Hosting.Orleans (16)
OrleansServiceClientExtensions.cs (1)
21[AspireExport("withOrleansClientReference", Description = "Adds an Orleans client reference to a resource")]
OrleansServiceExtensions.cs (15)
26[AspireExport("addOrleans", Description = "Adds an Orleans service configuration")] 38[AspireExport("withClusterId", Description = "Sets the Orleans cluster ID")] 69[AspireExport("withServiceId", Description = "Sets the Orleans service ID")] 100[AspireExport("withClustering", Description = "Configures Orleans clustering using a resource connection")] 127[AspireExport("withDevelopmentClustering", Description = "Configures Orleans development clustering")] 152[AspireExport("withGrainStorage", Description = "Adds an Orleans grain storage provider")] 183[AspireExport("withMemoryGrainStorage", Description = "Adds in-memory Orleans grain storage")] 209[AspireExport("withStreaming", Description = "Adds an Orleans stream provider")] 240[AspireExport("withMemoryStreaming", Description = "Adds in-memory Orleans streaming")] 270[AspireExport("withBroadcastChannel", Description = "Adds an Orleans broadcast channel provider")] 282[AspireExport("withReminders", Description = "Configures Orleans reminder storage")] 309[AspireExport("withMemoryReminders", Description = "Configures in-memory Orleans reminders")] 337[AspireExport("withGrainDirectory", Description = "Adds an Orleans grain directory provider")] 367[AspireExport("asClient", Description = "Creates an Orleans client view for the service")] 380[AspireExport("withOrleansReference", Description = "Adds an Orleans silo reference to a resource")]
Aspire.Hosting.PostgreSQL (14)
PostgresBuilderExtensions.cs (14)
45[AspireExport("addPostgres", Description = "Adds a PostgreSQL server resource")] 143[AspireExport("addDatabase", Description = "Adds a PostgreSQL database")] 186[AspireExport("withPgAdmin", Description = "Adds pgAdmin 4 management UI", RunSyncOnBackgroundThread = true)] 241[AspireExport("withPgAdminHostPort", MethodName = "withHostPort", Description = "Sets the host port for pgAdmin")] 258[AspireExport("withPgWebHostPort", MethodName = "withHostPort", Description = "Sets the host port for pgweb")] 296[AspireExport("withPgWeb", Description = "Adds pgweb management UI", RunSyncOnBackgroundThread = true)] 364[AspireExport("withPostgresMcp", Description = "Adds Postgres MCP server", RunSyncOnBackgroundThread = true)] 444[AspireExport("withDataVolume", Description = "Adds a data volume for PostgreSQL")] 474[AspireExport("withDataBindMount", Description = "Adds a data bind mount for PostgreSQL")] 509[AspireExport("withInitFiles", Description = "Copies init files to PostgreSQL")] 533[AspireExport("withCreationScript", Description = "Defines the SQL script for database creation")] 550[AspireExport("withPassword", Description = "Configures the PostgreSQL password")] 566[AspireExport("withUserName", Description = "Configures the PostgreSQL user name")] 582[AspireExport("withPostgresHostPort", MethodName = "withHostPort", Description = "Sets the host port for PostgreSQL")]
Aspire.Hosting.Python (9)
PythonAppResourceBuilderExtensions.cs (9)
65[AspireExport("addPythonApp", Description = "Adds a Python script application resource")] 101[AspireExport("addPythonModule", Description = "Adds a Python module application resource")] 140[AspireExport("addPythonExecutable", Description = "Adds a Python executable application resource")] 263[AspireExport("addUvicornApp", Description = "Adds a Uvicorn-based Python application resource")] 855[AspireExport("withVirtualEnvironment", Description = "Configures the virtual environment for a Python application")] 915[AspireExport("withDebugging", Description = "Enables debugging support for a Python application")] 1044[AspireExport("withEntrypoint", Description = "Configures the entrypoint for a Python application")] 1141[AspireExport("withPip", Description = "Configures pip package installation for a Python application")] 1238[AspireExport("withUv", Description = "Configures uv package management for a Python application")]
Aspire.Hosting.Qdrant (4)
QdrantBuilderExtensions.cs (4)
37[AspireExport("addQdrant", Description = "Adds a Qdrant resource to the application. A container is used for local development.")] 108[AspireExport("withDataVolume", Description = "Adds a named volume for the data folder to a Qdrant container resource.")] 124[AspireExport("withDataBindMount", Description = "Adds a bind mount for the data folder to a Qdrant container resource.")] 156[AspireExport("withQdrantReference", Description = "Adds a reference to a Qdrant resource")]
Aspire.Hosting.RabbitMQ (5)
RabbitMQBuilderExtensions.cs (5)
29[AspireExport("addRabbitMQ", Description = "Adds a RabbitMQ container resource")] 96[AspireExport("withDataVolume", Description = "Adds a data volume to the RabbitMQ container")] 112[AspireExport("withDataBindMount", Description = "Adds a data bind mount to the RabbitMQ container")] 133[AspireExport("withManagementPlugin", Description = "Enables the RabbitMQ management plugin")] 154[AspireExport("withManagementPluginWithPort", Description = "Enables the RabbitMQ management plugin with a specific port")]
Aspire.Hosting.Redis (13)
RedisBuilderExtensions.cs (13)
38[AspireExport("addRedisWithPort", Description = "Adds a Redis container resource with specific port")] 61[AspireExport("addRedis", Description = "Adds a Redis container resource")] 212[AspireExport("withRedisCommander", Description = "Adds Redis Commander management UI", RunSyncOnBackgroundThread = true)] 290[AspireExport("withRedisInsight", Description = "Adds Redis Insight management UI", RunSyncOnBackgroundThread = true)] 391[AspireExport("withRedisCommanderHostPort", MethodName = "withHostPort", Description = "Sets the host port for Redis Commander")] 408[AspireExport("withRedisInsightHostPort", MethodName = "withHostPort", Description = "Sets the host port for Redis Insight")] 437[AspireExport("withDataVolume", Description = "Adds a data volume with persistence")] 468[AspireExport("withDataBindMount", Description = "Adds a data bind mount with persistence")] 498[AspireExport("withPersistence", Description = "Configures Redis persistence")] 520[AspireExport("withRedisInsightDataVolume", Description = "Adds a data volume for Redis Insight", MethodName = "withDataVolume")] 534[AspireExport("withRedisInsightDataBindMount", MethodName = "withDataBindMount", Description = "Adds a data bind mount for Redis Insight")] 549[AspireExport("withPassword", Description = "Configures the password for Redis")] 564[AspireExport("withHostPort", Description = "Sets the host port for Redis")]
Aspire.Hosting.RemoteHost.Tests (23)
CapabilityDispatcherTests.cs (23)
1432[AspireExport("testMethod", Description = "Test method")] 1438[AspireExport("withOptional", Description = "Method with optional parameter")] 1444[AspireExport("asyncVoid", Description = "Async method returning Task")] 1451[AspireExport("asyncWithResult", Description = "Async method returning Task<T>")] 1458[AspireExport("asyncValueTaskWithResult", Description = "Async method returning ValueTask<T>")] 1465[AspireExport("asyncThrows", Description = "Async method that throws")] 1575[AspireExport("withCallback", Description = "Method with callback parameter")] 1586[AspireExport("invokeCallback", Description = "Method that invokes callback")] 1595[AspireExport("invokeTypedCallback", Description = "Method that invokes typed callback")] 1604[AspireExport("withAsyncCallback", Description = "Method with async callback returning value")] 1620[AspireExport("syncInlineThreadProbe", Description = "Captures the current thread for inline sync invocation")] 1626[AspireExport("syncBackgroundThreadProbe", Description = "Captures the current thread for background-thread sync invocation", RunSyncOnBackgroundThread = true)] 1632[AspireExport("valueTaskBackgroundThreadProbe", Description = "Captures the current thread for ValueTask<T> invocation", RunSyncOnBackgroundThread = true)] 1638[AspireExport("nonGenericValueTaskBackgroundThreadProbe", Description = "Captures the current thread for ValueTask invocation", RunSyncOnBackgroundThread = true)] 1651[AspireExport("sumArray", Description = "Sums an integer array")] 1657[AspireExport("returnArray", Description = "Returns a string array")] 1663[AspireExport("acceptReadOnlyList", Description = "Accepts a readonly list")] 1669[AspireExport("acceptUnion", Description = "Accepts a union of string or int")] 1675[AspireExport("returnMutableList", Description = "Returns a mutable List<string>")] 1681[AspireExport("returnMutableDict", Description = "Returns a mutable Dictionary<string, object>")] 1707[AspireExport("acceptEnum", Description = "Accepts an enum parameter")] 1713[AspireExport("returnEnum", Description = "Returns an enum value")] 1719[AspireExport("acceptOptionalEnum", Description = "Accepts an optional enum parameter")]
Aspire.Hosting.Seq (3)
SeqBuilderExtensions.cs (3)
45[AspireExport("addSeq", Description = "Adds a Seq server container resource")] 82[AspireExport("withDataVolume", Description = "Adds a data volume for Seq")] 97[AspireExport("withDataBindMount", Description = "Adds a data bind mount for Seq")]
Aspire.Hosting.SqlServer (7)
SqlServerBuilderExtensions.cs (7)
36[AspireExport("addSqlServer", Description = "Adds a SQL Server container resource")] 114[AspireExport("addDatabase", Description = "Adds a SQL Server database resource")] 153[AspireExport("withDataVolume", Description = "Adds a named volume for the SQL Server data folder")] 172[AspireExport("withDataBindMount", Description = "Adds a bind mount for the SQL Server data folder")] 208[AspireExport("withCreationScript", Description = "Defines the SQL script used to create the database")] 225[AspireExport("withPassword", Description = "Configures the password for the SQL Server resource")] 241[AspireExport("withHostPort", Description = "Sets the host port for the SQL Server resource")]
Aspire.Hosting.Tests (7)
Ats\AtsCapabilityScannerTests.cs (4)
294[AspireExport("testEnumerableParameter")] 301[AspireExport("testEnumerableReturn")] 308[AspireExport("testMultiParamHandleCallback")] 321[AspireExport("classLevelBackgroundThreadProbe")]
Ats\AttributeDataReaderTests.cs (3)
180[AspireExport("officialMethod", Description = "Official method description")] 186[AspireExport("overriddenMethod", MethodName = "customName")] 192[AspireExport("officialUnionMethod")]
Aspire.Hosting.Valkey (4)
ValkeyBuilderExtensions.cs (4)
110[AspireExport("addValkey", Description = "Adds a Valkey container resource")] 206[AspireExport("withDataVolume", Description = "Adds a data volume for Valkey and enables persistence")] 244[AspireExport("withDataBindMount", Description = "Adds a data bind mount for Valkey and enables persistence")] 280[AspireExport("withPersistence", Description = "Configures Valkey persistence")]
Aspire.Hosting.Yarp (37)
ConfigurationBuilder\IYarpConfigurationBuilder.cs (5)
87[AspireExport("addClusterFromEndpoint", Description = "Adds a YARP cluster for an endpoint reference.")] 99[AspireExport("addClusterFromResource", MethodName = "addCluster", Description = "Adds a YARP cluster for a resource that supports service discovery.")] 111[AspireExport("addClusterFromExternalService", Description = "Adds a YARP cluster for an external service resource.")] 124[AspireExport("addClusterWithDestinations", Description = "Adds a YARP cluster with multiple destinations.")] 137[AspireExport("addClusterWithDestination", Description = "Adds a YARP cluster with a single destination.")]
ConfigurationBuilder\Transforms\ForwardedTransformExtensions.cs (3)
17[AspireExport("withTransformXForwarded", Description = "Adds the transform which will add X-Forwarded-* headers.")] 34[AspireExport("withTransformForwarded", Description = "Adds the transform which will add the Forwarded header as defined by [RFC 7239](https://tools.ietf.org/html/rfc7239).")] 45[AspireExport("withTransformClientCertHeader", Description = "Adds the transform which will set the given header with the Base64 encoded client certificate.")]
ConfigurationBuilder\Transforms\HttpMethodTransformExtensions.cs (1)
17[AspireExport("withTransformHttpMethodChange", Description = "Adds the transform that will replace the HTTP method if it matches.")]
ConfigurationBuilder\Transforms\PathTransformExtensions.cs (4)
39[AspireExport("withTransformPathSet", Description = "Adds the transform which sets the request path with the given value.")] 71[AspireExport("withTransformPathPrefix", Description = "Adds the transform which will prefix the request path with the given value.")] 103[AspireExport("withTransformPathRemovePrefix", Description = "Adds the transform which will remove the matching prefix from the request path.")] 135[AspireExport("withTransformPathRouteValues", Description = "Adds the transform which will set the request path with route values.")]
ConfigurationBuilder\Transforms\QueryTransformExtensions.cs (3)
17[AspireExport("withTransformQueryValue", Description = "Adds the transform that will append or set the query parameter from the given value.")] 27[AspireExport("withTransformQueryRouteValue", Description = "Adds the transform that will append or set the query parameter from a route value.")] 37[AspireExport("withTransformQueryRemoveKey", Description = "Adds the transform that will remove the given query key.")]
ConfigurationBuilder\Transforms\RequestHeadersTransformExtensions.cs (6)
16[AspireExport("withTransformCopyRequestHeaders", Description = "Adds the transform which will enable or suppress copying request headers to the proxy request.")] 26[AspireExport("withTransformUseOriginalHostHeader", Description = "Adds the transform which will copy the incoming request Host header to the proxy request.")] 36[AspireExport("withTransformRequestHeader", Description = "Adds the transform which will append or set the request header.")] 46[AspireExport("withTransformRequestHeaderRouteValue", Description = "Adds the transform which will append or set the request header from a route value.")] 56[AspireExport("withTransformRequestHeaderRemove", Description = "Adds the transform which will remove the request header.")] 67[AspireExport("withTransformRequestHeadersAllowed", Description = "Adds the transform which will only copy the allowed request headers. Other transforms")]
ConfigurationBuilder\Transforms\ResponseTransformExtensions.cs (8)
16[AspireExport("withTransformCopyResponseHeaders", Description = "Adds the transform which will enable or suppress copying response headers to the client response.")] 26[AspireExport("withTransformCopyResponseTrailers", Description = "Adds the transform which will enable or suppress copying response trailers to the client response.")] 36[AspireExport("withTransformResponseHeader", Description = "Adds the transform which will append or set the response header.")] 46[AspireExport("withTransformResponseHeaderRemove", Description = "Adds the transform which will remove the response header.")] 57[AspireExport("withTransformResponseHeadersAllowed", Description = "Adds the transform which will only copy the allowed response headers. Other transforms")] 67[AspireExport("withTransformResponseTrailer", Description = "Adds the transform which will append or set the response trailer.")] 77[AspireExport("withTransformResponseTrailerRemove", Description = "Adds the transform which will remove the response trailer.")] 88[AspireExport("withTransformResponseTrailersAllowed", Description = "Adds the transform which will only copy the allowed response trailers. Other transforms")]
YarpResourceExtensions.cs (7)
29[AspireExport("addYarp", Description = "Adds a YARP container to the application model.")] 106[AspireExport("withConfiguration", Description = "Configure the YARP resource.", RunSyncOnBackgroundThread = true)] 119[AspireExport("withHostPort", Description = "Configures the host port that the YARP resource is exposed on instead of using randomly assigned port.")] 137[AspireExport("withHostHttpsPort", Description = "Configures the host HTTPS port that the YARP resource is exposed on instead of using randomly assigned port.")] 152[AspireExport("withStaticFiles1", MethodName = "withStaticFiles", Description = "Enables static file serving in the YARP resource. Static files are served from the wwwroot folder.")] 168[AspireExport("withStaticFiles2", MethodName = "withStaticFiles", Description = "Enables static file serving. In run mode: bind mounts to /wwwroot.")] 203[AspireExport("publishWithStaticFiles", Description = "In publish mode, generates a Dockerfile that copies static files from the specified resource into /app/wwwroot.")]