Replies: 3 comments 3 replies
-
We're always looking for feedback from new patterns. Why do you want to create multiple app hosts? What problem does it solve for you? |
Beta Was this translation helpful? Give feedback.
-
I talked about this to a colleague and he mentioned a scenario like this: When your environment grows, you typically have more than 10 microservices running. You don't want to run those on your local dev environment; instead, you want to run a group of related services on your dev environment. For DTAP, however, you want to deploy all microservices. It may be useful to have a nested structure for this case. I can also imagine creating a CI pipeline for each group of services and integrating the various groups via virtual network peering in Azure. In this case you have more flexibility in where you store code for groups of services and how/when you want to deploy. |
Beta Was this translation helpful? Give feedback.
-
DTAP: Development, Test, Acceptance, Production. I mistakenly assumed more people would use that term for their staging and production environments. For us, we typically have environment where you have multiple groups of services and resources that stick together. You can have a microservice with an associated database for auth that considered a group. And another set of microservices for ordering that have their own databases and storage. They typically don't share code. But I'm not sure if that's the same for the original poster. Given this sort of environment, I can imagine that a nested host project. One overall structure where the root combines everything for deployment to production. And then several other app hosts for those separate groups so you can easily work on your local dev box. |
Beta Was this translation helpful? Give feedback.
-
I am currently new to dotnet and Aspire. Is there a way to add a aspire project inside a aspire project? Or I do not need to do that?
Currently I am working on a project where i am building for a Company trying to sell Hospital Management System !! I have divided project into two layer
Parent Layer - thms ( tenant and hospital management system)
Child Layer - hms ( hospital Management System )
I have Project Setup as Follows
~/work/thms
src
│ Identity.API
│ Media.API
│ Tenant.API
│ WebApp
│ hms
│ │ hms.ApiGateway
│ │ hms.AppHost
│ │ hms.ServiceDefaults
│ └ hms.sln
│ thms.AppHost
└ thms.ServiceDefaults
hms.sln
Any Feed Back will be Appreciated !!
Beta Was this translation helpful? Give feedback.
All reactions