-
Hello, I am currently exploring the capabilities of .NET Aspire, particularly its service discovery features and the shared functionalities provided by ServiceDefaults. As of now, to leverage these features, it seems necessary to house all our projects within the same solution. This arrangement functions well when the projects are relatively small or when there are only a few microservices. However, as projects expand—consider scenarios with 5-6 deployable components, each encompassing multiple layers—merging them into a single solution becomes increasingly cumbersome. Not only would the build process become significantly prolonged, but navigating through the projects and managing them effectively would also prove challenging. This could detrimentally affect the development experience. In light of these challenges, I have opted to maintain the deployable components and their respective layers in separate solutions. However, this approach currently precludes me from utilizing .NET Aspire to its full extent. Therefore, I would like to inquire whether there is a possibility to configure .NET Aspire to work with applications distributed across different solutions. Any guidance or suggestions on how to achieve this would be greatly appreciated. Thank you for your time and assistance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 22 replies
-
Is your plan to clone all of the source code for each solution locally? |
Beta Was this translation helpful? Give feedback.
-
Currently, there are 257 projects in the solution, while sometimes I only want to focus on the aspire dashboard project, and think maybe some projects could be moved out to the community/aspire repo to keep the aspire focused on the core functionalities |
Beta Was this translation helpful? Give feedback.
Great! That's great information. We have lots of work to do in this area so this sort of information is very useful. I think one thing we will end up doing in some form is making for a more first-class way to reference another apphost project. You need to be able to build a new apphost project that references another one and lets you mutate and reference connection information and references in a more loosely coupled way.