I have an MVC site running in a sub application within IIS which performs an Ajax request for additional content after the initial load.
The problem is that if a user fails to enter the trailing "/" at the end of the URL, the AJAX request fails because a "/" is added to the front of the requested URL by the XHR object. This results in it going to the root domain and leaving the application area.
Below is a Fiddler trace showing what I mean.

The first 3 entries, show a basic HTML site which I set up to see what happens outside the MVC environment. In this case, when the trailing "/" is not provided, IIS sends a redirect to the URL with the trailing slash. The subsequent AJAX request then succeeds.
Within MVC in the next 2 entries, the redirect is not issued and the AJAX request then fails. Is there a way to get a 301 redirect (preferably from IIS) in the MVC scenario if the trailing "/" is missing?