microsoft / microsoft/aspire

Please add AddDotNetAppResouce

Open
#12,586 9 comments 2 reactions 0 assignees View on GitHub
needs-area-label
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

Use Case
- I want to deploy Aspire to my vps
- I want to be able to start stop resources via aspire dashboard
- I want to be able to see all logs metrics
- I'm aware of stand alone aspire dashboard but i think you can't do number 2 in the list

I notice for dotnet/aspnetcore, in development we will use ```AddProject```
in production, obviously there is no "csproj"

### Describe the solution you'd like

If there is "PythonAppResource", why not "DotNetAppResource" ?

The goal is when we use "DotNetAppResource", the environment variables needed for OTEL is configured automatically (and any other needed environment variables)

At this moment the workaround is using AddExecutable

### Additional context

I will not expose Aspire directly to internet
I will use another web app to access Aspire Dashboard securely

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.