Let me try to explain the issue facing in razor pages asp.net core.
I have a dynamic link on my page. Please refer the below screen shot for that.
When I first time click and use this url - it hit the backend OnGet Action method and I get expected result. But once I was resulted into an exception and I have received an error.
Since then if same dynamic url is passed, I get the same page again and again.
Seems page / action is being cached in asp.net core but I am unable to make a fresh call. Can someone help me? Please.