dotnet / dotnet/aspnetcore

Add new analyzers to help MVC users migrate to TypedResults

Open
#68,239 1 comment 2 reactions 0 assignees View on GitHub
analyzer area-mvc
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

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.

We could consider adding new analyzers to help MVC users moving away from the weakly typed IResults to the newer `TypedResults`.

Related to https://github.com/dotnet/aspnetcore/issues/64858

### Describe the solution you'd like

Analyzers and codefixers that suggest moving to TypedResults.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reviewing related issue #64858 and the issue's description of MVC users moving from weakly typed IResults to TypedResults. Then locate the existing analyzer and codefixer areas in the repository and determine which migration patterns should be covered. Done means an agreed analyzer and codefixer scope with corresponding tests; this issue names no specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.