I made a mistake whilst writing a code in asp.net and used RedirectPermananet incorrectly
public IActionResult index()
{
return RedirectPermanent(Url());
}
I have made a change to the value of the url but the browser keeps going to the old url. I've tried clearing the cache using the suggestion shown here clearing IISExpress cache, but still having the same problem. I've realised now that I should not have used RedirectPermanent at the first place. How can I reverse this? Thank you