IResourceWithAzureFunctionsConfig Methods
ApplyAzureFunctionsConfiguration(IDictionary<string, object>, string) Section titled ApplyAzureFunctionsConfiguration(IDictionary<string, object>, string)abstractpublic interface IResourceWithAzureFunctionsConfig{ public abstract void ApplyAzureFunctionsConfiguration( IDictionary<string, object> target, string connectionName) { // ... }}Parameters
targetIDictionary<string, object> The dictionary to which the Azure Functions configuration will be applied.connectionName stringThe name of the connection key to be used for the given configuration.Remarks
Implementations should populate the target dictionary with keys that match the format expected by the Azure Functions runtime, and values that are valid connection strings or service URIs.
For Azure Functions listener initialization, use keys like: {connection for connection strings (typically used with emulators){connection for Azure Event Hubs and Azure Service Bus endpoints{connection and {connection for Azure Blob Storage and Azure Queue Storage{connection for Azure Cosmos DB account endpoints
For Aspire client integration support, use keys following the pattern: Aspire_ where {Service is the service namespace (e.g., Azure_, Azure_, Azure_, Microsoft_) and {Property} is typically Connection, Service, Fully, or Account.