Questions tagged «resulttype»

2
ASP.NET MVC中的四个文件结果之间有什么区别
ASP.NET具有四种不同类型的文件结果: FileContentResult:将二进制文件的内容发送到响应。 FilePathResult:将文件的内容发送到响应 FileResult:返回二进制输出以写入响应 FileStreamResult:使用Stream实例将二进制内容发送到响应 这些描述来自MSDN,除了FileStreamResult之外,前三个听起来完全相同。那么它们之间有什么区别呢?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.