IIS/.NET 3.5 的 X-Sendfile 或 X-Accel-Redirect 等效项

发布于 2024-08-24 03:23:24 字数 116 浏览 2 评论 0原文

我有一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

逆蝶 2024-08-31 03:23:24

我正在寻找类似的解决方案。看来这符合要求:

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.

腻橙味 2024-08-31 03:23:24

对 IIS 7.x 的 X-Sendfile 和 X-Accel-Redirect 支持

该模块为 X-Sendfile 和 X-Accel-Redirect 提供基本支持
标头。

https://github.com/stakach/IIS-X-Sendfile-plugin

http://advancedcontrol.com.au /blog/2011/10/4/web-applications-on-iis-7x.html

X-Sendfile and X-Accel-Redirect Support for IIS 7.x

This module provides basic support for X-Sendfile and X-Accel-Redirect
headers.

https://github.com/stakach/IIS-X-Sendfile-plugin

http://advancedcontrol.com.au/blog/2011/10/4/web-applications-on-iis-7x.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文