dotnet / dotnet/aspnetcore

Detect ambiguous MVC route on [HttpGet("")] vs [HttpGet]

Open
#53,102 0 comments 0 reactions 0 assignees View on GitHub
analyzer area-mvc bug
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

### Describe the bug

More detail: https://github.com/dotnet/aspnetcore/issues/52556#issuecomment-1874480737

### Expected Behavior

Scenario should be detected as ambiguous MVC route (ASP0023).

### Steps To Reproduce

_No response_

### Exceptions (if any)

_No response_

### .NET Version

_No response_

### Anything else?

_No response_

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.