Document Redis client builder pattern from Aspire 9.5#434
Draft
Document Redis client builder pattern from Aspire 9.5#434
Conversation
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Redis client builder pattern to redis-integration
Document Redis client builder pattern from Aspire 9.5
Feb 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Aspire 9.5 introduced a new Redis client builder pattern with fluent configuration for distributed caching and Azure authentication. This was documented in the what's new page but missing from the redis-integration reference.
Changes
Adds "Redis client builder pattern" section to
redis.mdxwith:AddRedisClientBuilderwithWithDistributedCachefor fluent configurationWithAzureAuthenticationextension requiringAspire.Microsoft.Azure.StackExchangeRedispackageDisableAutoActivationconfiguration option (disabled by default, planned for future default)Example
Screenshots
Full page:

New section:

Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/CommunityToolkit/Aspire/home/REDACTED/work/_temp/ghcca-node/node/bin/node node ./scripts/update-github-stats.js(http block)https://api.github.com/repos/CommunityToolkit/Aspire/contributors/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build(http block)https://api.github.com/repos/dotnet/aspire/home/REDACTED/work/_temp/ghcca-node/node/bin/node node ./scripts/update-github-stats.js(http block)https://api.github.com/repos/dotnet/aspire-samples/home/REDACTED/work/_temp/ghcca-node/node/bin/node node ./scripts/update-github-stats.js(http block)https://api.github.com/repos/dotnet/aspire-samples/contributors/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build(http block)https://api.github.com/repos/dotnet/aspire/contributors/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build(http block)https://api.github.com/repos/microsoft/aspire.dev/home/REDACTED/work/_temp/ghcca-node/node/bin/node node ./scripts/update-github-stats.js(http block)https://api.github.com/repos/microsoft/aspire.dev/contributors/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build(http block)https://api.github.com/repos/microsoft/dcp/home/REDACTED/work/_temp/ghcca-node/node/bin/node node ./scripts/update-github-stats.js(http block)https://api.github.com/repos/microsoft/dcp/contributors/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build(http block)learn.microsoft.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build(dns block)telemetry.astro.build/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js dev git log %D �� %b �� %aN �� %aE ���� --follow it -3.mdx --follow s/.bin/git git log %D �� %b �� %aN �� %aE ���� --follow 0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/git aspire.mdx --follow odules/pnpm/distpnpm --dir ./src/frontend run dev git(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js dev git log �� %aI �� %s �� src/frontend/src/content/docs/integrations/databases/efcore/azure-cosmos-db/azurbash --follow in/git /index.mdx --follow it git log ro . -- --check --follow .1_jiti@1.21.7_rollup@4.53.3_typescript@5.9.3_/node_modules/@astrojs/starlight/node_modules/.bincheck-data ats-new/aspire-9sh REDACTED e/git git(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.