[英]How to work with file delivery to the client in asp.net mvc without downloading the files on the web server?
我想避免在将Azure存储Blob文件交付给客户端之前先在Web服务器上下载文件,asp.net mvc是否可以通过任何方式使浏览器理解它正在接收文件URL并以是否返回了文件,例如:FileResult?
I do not know if it is the proper way, but the following code served me: 我不知道这是否是正确的方法,但是以下代码为我服务:
public RedirectResult Test()
{
...
return new RedirectResult(uri.ToString());
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.