Search code examples
c#asp.net-coreswaggerasp.net-core-webapibreakpoints

My requests are not hitting to my breakpoint in Visual Studio after first trigger over swagger (.Net6)


When I am trying to trigger an action in my api application via swagger of my , my first request does hit my breakpoint on the code, but after first time it is not hitting no matter how many times I try to trigger.

My code with breakpoint

I am expecting my breakpoint to hit everytime I trigger the action.


Solution

  • 410 means this content is no longer available and will not be used. For this reason, browsers may exhibit caching behavior. Please delete the cache in your browser and try again.

    If you are curious about the details, you can browse: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410