Open
Description
openedon Nov 2, 2022
This issue has been moved from a ticket on Developer Community.
[severity:It bothers me. A fix would be nice] [regression] [worked-in:17.3.3]
I'm working on an API project using .NET 6, and when using hot reload, after a certain number of times, the method (and thus the enpoind) gets duplicated. I'm not quite sure if it's a .NET 6 problem or a VS problem.
To replicate (could be a local problem also):
- Create an edpoint and edit it several times, then hot reload, after multiple times reloading the code the app will get an Microsoft.AspNetCore.Routing.Matching.AmbiguousMatchException: The request matched multiple endpoints.
If I start reloading several times after I get the error, the endpoint will get duplicated the number of times I have hot reloaded my code.
Original Comments
Feedback Bot on 8/30/2022, 07:35 PM:
(private comment, text removed)
Original Solutions
(no solutions)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
The issue was created by a issue mover bot. The author may not be the actual author.Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etcThe work on this issue is blocked due to some dependencyThis issue describes a behavior which is not expected - a bug.This issue is related to the Hot Reload feaature