icsharpcode/SharpZipLib
在 GitHub 查看Zip-as-a-browser-download-attachment doesnt work in .Net Core 2.0
Open
#194 创建于 2017年10月3日
core streamdocumentationhelp wantedzip
仓库指标
- Star
- (3,502 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
The sample for creating a zip fie as a browser download attachment as mentioned at doesnt seem to work in .Net Core 2.0:
In the sample code, I think Response.Flush(); need to be updated to Response.Body.Flush();
whereas Response.End();, need to be removed.
But I am not sure what Response.OutputStream should be updated with? It seems that in .net core 2.0 Response.OutputStream is not available.