Support legacy Asp.Net MVC and console (e.g. topshelf) projects for simpler upgrade from NetFX to Net Core/8
- 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.
The aspire host allows me to also start basic .net 4.8 console and mvc projects.
But
* for the MVC project it shows no endpoints in the Dashboard
* and adding opentelemetry incl OTLP exporer did not allow me to see any traces.
See this discrussion for reference
#4842
### Describe the solution you'd like
Best option:
VS support for adding Aspire to an existing Asp.NET MVC project.
Good enough:
A step-by-step tutorial in how to set this up.
I tried but failed unfortunately.
### Additional context
Background information: We are trying to migrate an asp.net MVC app to Asp.Net Core using the [recommended approach](https://learn.microsoft.com/en-us/aspnet/core/migration/mvc?view=aspnetcore-8.0)
Thereby it would be nice if we could use Aspire to develop and run the old and new web app and also see which calls end up where (strangler fig pattern)
Contributor guide
Research direction
Start by reading discussion #4842 and the migration guidance linked in the issue, then inspect how the Aspire host and Dashboard handle the legacy MVC and console projects. Done means either Visual Studio can add Aspire to an existing ASP.NET MVC project with endpoints and OTLP traces visible, or a step-by-step tutorial documents a working setup for this migration scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100