Add Aspire AppHost orchestration to samples with Aspire 13.1.0#2240
Open
Add Aspire AppHost orchestration to samples with Aspire 13.1.0#2240
Conversation
… strings with Aspire 13.1.0 Co-authored-by: vicancy <668244+vicancy@users.noreply.github.com>
Co-authored-by: vicancy <668244+vicancy@users.noreply.github.com>
…tation Co-authored-by: vicancy <668244+vicancy@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Aspire apphost to samples using latest Aspire
Add Aspire AppHost orchestration to samples with Aspire 13.1.0
Dec 19, 2025
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.
Summary of the changes (Less than 80 chars)
Changes
Aspire Integration
Samples.AppHostproject using Aspire.Hosting.AppHost 13.1.0 and Aspire.Hosting.Azure.SignalR 13.1.0Sample Updates
AddNamedAzureSignalR("signalr1")instead of hardcoded credentialsServerEndpointandMODEenvironment variables for Aspire orchestrationCI/CD
dotnet workload install aspirestep to Windows, Ubuntu, and macOS workflowsExample Usage
Run with Aspire (auto-provisions Azure resources):
cd samples/Samples.AppHost dotnet runOr configure manually:
See updated README in ChatSample for detailed instructions.
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:
1javsblobprodcus364.vsblob.vsassets.io/usr/bin/dotnet dotnet build AzureSignalR.sln(dns block)/usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/azure-signalr/azure-signalr/AzureSignalR.sln --packages /home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot(dns block)1s1vsblobprodcus386.vsblob.vsassets.io/usr/bin/dotnet dotnet build AzureSignalR.sln(dns block)/usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/azure-signalr/azure-signalr/AzureSignalR.sln --packages /home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot(dns block)kmuvsblobprodcus389.vsblob.vsassets.io/usr/bin/dotnet dotnet build AzureSignalR.sln(dns block)/usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/azure-signalr/azure-signalr/AzureSignalR.sln --packages /home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot(dns block)n3kvsblobprodcus335.vsblob.vsassets.io/usr/bin/dotnet dotnet build AzureSignalR.sln(dns block)/usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/azure-signalr/azure-signalr/AzureSignalR.sln --packages /home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot(dns block)pe3vsblobprodcus354.vsblob.vsassets.io/usr/bin/dotnet dotnet build AzureSignalR.sln(dns block)/usr/bin/dotnet dotnet restore(dns block)/usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/azure-signalr/azure-signalr/AzureSignalR.sln --packages /home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot(dns block)pkvvsblobprodcus321.vsblob.vsassets.io/usr/bin/dotnet dotnet build AzureSignalR.sln(dns block)/usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/azure-signalr/azure-signalr/AzureSignalR.sln --packages /home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/azure-signalr/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.