05
2018
01

ASP.NET MVC基础知识(持续添加)

一、Controller中返回File类别protected internal virtual FileStreamResult File(Stream fileStream, string contentType, string fileDownloadName);FileStreamResult File(Stream fileStream, string contentType);区别: 如果加fileDownloadName 返回后,则浏览器直接下载contentType类别文件。&nb