How can I do the following?
I want a user to browse to https://localhost/Registration/GetCaptchaAudioInternetExplorer.wav
and have it run the action of GetCaptchaAudioInternetExplorer
on the Registration
controller, which serves an audio/wav
file.
What works for me right now is browsing to https://localhost/Registration/GetCaptchaAudioInternetExplorer
But what do I need to do to make https://localhost/Registration/GetCaptchaAudioInternetExplorer.wav
route to the same action? Is there a way in MVC to specify action routes for something like this?