188 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
0
replies
44
views
Aspire build fails with "Metadata file could not be found" when referencing projects from external solutions (Layered Architecture)
I am trying to use .NET Aspire (v9) to orchestrate a microservices environment. The setup involves multiple services (Identity, KYC), but these services reside in different solutions and repositories ...
0
votes
1
answer
25
views
Aspire SqlConnection injection not working?
I'm trying to follow the example from DatabaseEndpoints (last third is about SQL Server, which I use).
In my AppHost.cs, I have:
var firePdmSqlServer = builder.AddSqlServer("FirePdmSqlServer"...
0
votes
0
answers
61
views
Azure function not launched by Aspire when running test in normal test mode
I have a weird problem that I need som input on when running a test in normal test mode (not debug).
Tools
Visual Studio code, Version: 1.107.0
Mac OS, M4
Background
An azure function exists, we can ...
Advice
0
votes
0
replies
56
views
How To use Ocelot Gateway inside a .NET Aspire project?
I am trying to use Ocelot inside a .NET Aspire project, but the problem is that /health or / don't work. Because of this, the gateway is shown as unhealthy in the Aspire dashboard.
What should I do to ...
0
votes
0
answers
46
views
.Net Aspire AppServicePlan AsExisting still creating a new one in provision
I am trying to transition to aspire for our existing apps but I run into one problem. We have many different software packages running in azure that are not related to one another apart from resource ...
0
votes
1
answer
72
views
.NET Maui Aspire integration not resolving ASP.NET Core Web API
I am trying to use the new .NET Maui Aspire integration to make my development life easier and I cannot get the service discovery to work where the app detects the API's URL. I'm following this https:/...
3
votes
0
answers
126
views
Start Android emulator with .NET Maui app from .NET Aspire dashboard
I have a .NET 10 MAUI app configured with Aspire 13. When I start the Aspire project and the dashboard launches, I ensure that the emulator is running.
Steps to reproduce
Start Visual Studio
Create a ...
1
vote
3
answers
245
views
How come Azure Developer CLI says my Aspire bicep is invalid when running in pipelines?
I recently created a new Aspire project and I'm deploying it to Azure using the Azure DevOps Pipelines.
My goal is to run the pipelines whenever a trigger occurs, generate the infrastructure, ...
Best practices
0
votes
0
replies
33
views
Aspire .NET 9 Blazor Project: InteractiveAuto Globally
I have a question with a setup of one of my components that relies heavily on JSInterop. The component contains a Google map and all of my data for initializing and displaying data on that map needs ...
1
vote
0
answers
94
views
Docker container routing to YARP fails in Aspire
I have a software solution where there is
an ASP.NET Core 8.0 Web API running on Linux inside a Docker container (edge-service), making HTTPS GET and HTTPS POST to
an ASP.NET Core 8.0 Web API (front-...
-1
votes
1
answer
340
views
Aspire publish not creating dockerfile
I’m working with Aspire in a .NET 10 RC2 project.
When I run:
aspire publish
it logs that it’s "creating Docker image", but no Docker image is actually produced.
I have ran it with --debug and indeed ...
-1
votes
1
answer
89
views
How to change the default HTTP scaler concurrency (10 requests) to 1000 in .NET Aspire?
I’m using .NET Aspire to orchestrate my services, and everything is deployed to Azure Container Apps.
By default for replication, Container Apps seem to use HTTP scaler with a concurrency target of 10 ...
1
vote
0
answers
85
views
Set Aspire custom container network to bridge
When I created a container using AddContainer it has a default network that is specific to this container, but I want to it have only one network -- bridge. How can I do it?
something like --network ...
0
votes
1
answer
221
views
Aspire Dockerized Project Fails to Start on Windows — "Address Already in Use" for RabbitMQ/MongoDB, Works on Teammates’ Machines
I have an Aspire project that runs RabbitMQ, MongoDB, and PostgreSQL in Docker containers. My AppHost project defines them like this:
var rabbitMQ = builder.AddRabbitMQ("rabbitmq")
....
0
votes
0
answers
92
views
Dapr / Aspire PubSub not loading component yaml
I am attempting to setup a project with Aspire and DAPR.
I want to register a sidecar in my API and Frontend application that will use pubsub. The pubsub should come from a DAPR yaml component file.
I ...