Skip to content

Recommend AsExisting() for Azure Integrations #3816

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

alistairmatthews
Copy link
Contributor

@alistairmatthews alistairmatthews commented Jun 12, 2025

Summary

All the Azure integrations articles listed below now recommend AsExisting() instead of passing a connection string:

  • Azure AI search
  • Azure Cache for Redis (all three articles)
  • Cosmos DB
  • Azure Event Hubs
  • Azure Key Vault
  • Azure PostgreSQL
  • Azure OpenAI
  • Azure SignalR
  • Azure Service Bus
  • Azure SQL Database
  • Azure Storage (All three articles)
  • Azure Web PubSub

Since there is no hosting integration for Azure AI Inference, this doesn't apply. It also doesn't seem to work for Azure Functions in 9.3.

Fixes #3497


Internal previews

📄 File 🔗 Preview link
docs/azureai/azureai-openai-integration.md .NET Aspire Azure OpenAI integration (Preview)
docs/azureai/azureai-search-document-integration.md .NET Aspire Azure AI Search integration
docs/messaging/azure-event-hubs-integration.md .NET Aspire Azure Event Hubs integration
docs/messaging/azure-service-bus-integration.md .NET Aspire Azure Service Bus integration
docs/messaging/azure-web-pubsub-integration.md docs/messaging/azure-web-pubsub-integration
docs/real-time/azure-signalr-scenario.md .NET Aspire Azure SignalR Service integration
docs/security/azure-security-key-vault-integration.md .NET Aspire Azure Key Vault integration

@IEvangelist IEvangelist merged commit 70be0f2 into dotnet:main Jun 17, 2025
7 checks passed
@alistairmatthews alistairmatthews deleted the recommend-asexisting-for-azure-integrations branch June 17, 2025 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Azure Integrations docs to recommend AsExisting over AddConnectionString
3 participants