I copied my app and put it somewhere else. Then I changed IIS to look at the new place and ran it. Debugging it – it runs through my Controllers in the new location fine. But when it nips off to get the view it goes to the old location of my app?!?
Share
I used .NET Reflector to work out how the route engine works. Turns out it kind of caches the route. It wouldn’t listen to me until I restarted IIS, renamed the old directory so it didn’t exist anymore and stopped my devenv.exe process. Then finally it was sorted