可插拔 MIME 过滤器的实现示例(最好用 C# 实现)?

发布于 2024-07-25 13:29:51 字数 827 浏览 9 评论 0原文

任何人都知道 可插入 MIME 的良好示例实现IE 的过滤器,最好用 C# 实现? 或者可插入的协议处理程序?

谢谢!

到目前为止,我已经找到

Anyone know of a good sample implementation of a Pluggable MIME Filter for IE, preferably implemented in C#? Or of a pluggable protocol handler?

thanks!

So far I have found

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

五里雾 2024-08-01 13:29:52

在与 Microsoft 支持人员合作几周后,我们确定用 .NET 编写的 MIME 过滤器无法正常工作。 互操作层中似乎存在许多线程安全问题,导致 IE 随机崩溃。

我按照您上面链接的相同示例在 C++ 中重新实现了我的 MIME 过滤器,并且工作正常。

After working with Microsoft support for a couple of weeks, we determined that MIME filters written in .NET do not work correctly. There appear to be a number of thread-safety issues in the interop layers that cause random crashes of IE.

I've reimplemented my MIME filter in C++ following the same sample you linked to above, and it works fine.

别挽留 2024-08-01 13:29:52

http://www.codeproject.com/aspnet/AspxProtocol.asp 是我的最爱。 但请注意,使用 .NET 作为协议处理程序通常会产生相当大的性能成本,并且如果有其他基于 .NET 的组件尝试在需要不同版本的浏览器中运行,则可能会出现版本控制问题CLR 的。

http://www.codeproject.com/KB/IP/DataProtocol.aspx 是另一种选择。

http://www.codeproject.com/aspnet/AspxProtocol.asp is my favorite. Note, however, that using .NET for a protocol handler is generally going to incur a pretty significant performance cost, and there may be a versioning problem if there are other .NET-based components attempting to run in the browser that require a different version of the CLR.

http://www.codeproject.com/KB/IP/DataProtocol.aspx is another option.

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