0

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

Jonbx
  • 13
  • 1
  • 5
  • Open a browser tab in privacy mode and you shouldn't be redirected by the wrong path. There is no other way to reverse, and clearing browser cache should help (unless you chose the wrong options). – Lex Li Mar 22 '21 at 01:11
  • What browser are you using? – Rex Henderson Mar 22 '21 at 01:21

1 Answers1

0

I was able to resolve this by clearing the cache of the individual browser ie chrome. Clearing IISExpress cache did not work for me

Jonbx
  • 13
  • 1
  • 5