This is most likely due to the session state behaviour - by default, it's set to
Required
, which means only one request can be served at a time.
Since you don't seem to be using session state or
TempData
in your action, you can disable it. Unfortunately, you need to do that at the controller level, so you'll need to move your
DownloadMediaFile
action to a different controller. Then add the
SessionState
attribute to that controller:
[SessionState(SessionStateBehavior.Disabled)]
public class DownloadController : Controller
{
...