API stop working in ASP core 6 after adding new ConsumesAttribute("application/json") angular project
tnlthanzeel opened this issue · comments
Thanzeel commented
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
i migrated a project to asp core 6. the project is an API project where it serves angular as front end. after the migration the APIs stopped working for one single line of code
so if i comment this line of code and re-run the project the API works. i have no idea
here is the link to the minimal repro - https://github.com/tnlthanzeel/VPMS-POC
Expected Behavior
APi should work as normal
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
asp core 6
Anything else?
No response
Javier Calvarro Nelson commented
@tnlthanzeel thanks for contacting us.
This is likely a dupe of #41060 or caused by the same reason.