IIS/.NET 3.5 的 X-Sendfile 或 X-Accel-Redirect 等效项
我有一个 ASMX Web 服务,它创建一个给定一些参数的文件,而不是将其作为 Base64 编码的 XML 提供,我希望 IIS 提供该文件,以便让我的工作人员腾出时间进行下一项工作。序列化非常昂贵并且完全没有必要。
I have an ASMX web-service which creates a file given a few paramaters, instead of serving it as Base64 encoded XML I would like IIS to serve the file to free my worker for the next job. The serialization is pretty expensive and totally unnecessary.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我正在寻找类似的解决方案。看来这符合要求:
http://www.helicontech.com/ape/
具体看看x-sendfile 部分。
I am looking for a similar solution. It appears this fits the bill:
http://www.helicontech.com/ape/
Specifically look at the x-sendfile piece.
https://github.com/stakach/IIS-X-Sendfile-plugin
http://advancedcontrol.com.au /blog/2011/10/4/web-applications-on-iis-7x.html
https://github.com/stakach/IIS-X-Sendfile-plugin
http://advancedcontrol.com.au/blog/2011/10/4/web-applications-on-iis-7x.html