I use ashx to download file in my web app. Here are the concrete implementation:
- I create a hidden iframe
- Replace the iframe url with the ashx url/address to send request
- Service gets the request, and returns back the file to client side.
It works on almost everywhere, just fails on iOS safari (iphone, ipad). But on Mac OS safari, it works fine too.
Do you have any idea about that?