如何在Asp.NET MVC 5中实现文件下载 [英] How do I implement a file download in Asp.NET MVC 5

查看:66
本文介绍了如何在Asp.NET MVC 5中实现文件下载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Asp.NET MVC 5进行在线电影商店,访问该网站的客户将在下载电影之前注册并登录。现在我想实现一个按钮,当点击时,客户将首先选择保存该电影的目的地,然后必须将客户重定向到将显示电影进度条的页面。从服务器移动到客户的存储介质。

I am doing a an online movie store using Asp.NET MVC 5, whereby customers visiting the site will register and log in before downloading a movie. Now I want to implement a button it in such a way that, when clicked, the customer will start by choosing the destination where to save that movie after that the customer must be redirected to a page that will show the progress bar while the movie is moved from the server to the customer's storage media.

推荐答案

这篇关于如何在Asp.NET MVC 5中实现文件下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆