Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
Description
Following the successful implementation of the TypeScript AppHost (apphost.ts) in Aspire 13.2, I would like to propose enabling/completing the Go-based AppHost support.
While I love the Aspire Dashboard and orchestration, requiring developers to use C# for the AppHost remains a significant barrier to adoption for teams that work exclusively in Go. I currently see initial code-generation logic for Go in the src/Aspire.Hosting.CodeGeneration.Go namespace, and I would like to see this matured into a functional feature for end-users.
Describe the solution you'd like
Proposed Solution
Enable a Go developer experience similar to the TypeScript implementation:
- Entry Point: Support an
apphost.go file as the primary orchestration entry point.
- Go Client Library: Implement a Go SDK that utilizes the JSON-RPC protocol to communicate with the .NET AppHost server.
- CLI Integration: Update the
aspire CLI to recognize Go projects as valid AppHosts (detecting go.mod and apphost.go).
Additional context
Use Case & Impact
Enabling a Go-native AppHost allows Go-centric teams to maintain their local development environment and orchestration logic in their primary language. This improves developer velocity and allows for better integration with existing Go-based tooling and CI/CD pipelines while still leveraging the powerful Aspire dashboard and resource modeling.
Contribution
I am willing to contribute to the Go SDK implementation and the code-generation logic.
References
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
Description
Following the successful implementation of the TypeScript AppHost (
apphost.ts) in Aspire 13.2, I would like to propose enabling/completing the Go-based AppHost support.While I love the Aspire Dashboard and orchestration, requiring developers to use C# for the
AppHostremains a significant barrier to adoption for teams that work exclusively in Go. I currently see initial code-generation logic for Go in thesrc/Aspire.Hosting.CodeGeneration.Gonamespace, and I would like to see this matured into a functional feature for end-users.Describe the solution you'd like
Proposed Solution
Enable a Go developer experience similar to the TypeScript implementation:
apphost.gofile as the primary orchestration entry point.aspireCLI to recognize Go projects as valid AppHosts (detectinggo.modandapphost.go).Additional context
Use Case & Impact
Enabling a Go-native AppHost allows Go-centric teams to maintain their local development environment and orchestration logic in their primary language. This improves developer velocity and allows for better integration with existing Go-based tooling and CI/CD pipelines while still leveraging the powerful Aspire dashboard and resource modeling.
Contribution
I am willing to contribute to the Go SDK implementation and the code-generation logic.
References