arvixe.com 托管的 ASP.NET 4 集成模式中的 HttpHandler 出现问题

发布于 2024-10-02 10:20:21 字数 276 浏览 0 评论 0原文

我想知道是否有人在 Arvixe 托管提供商的 HttpHandlers 方面遇到过一些问题。

我已将我的网站设置为以 asp.net 4 集成模式运行,httphandlers 已正确设置到 web.config 中,并且它们在我的 Windows 7 IIS7 电脑中工作。

在托管空间上,httphandlers 似乎不起作用。

也许有人在 arvixe 上的 .net 4 中使用自定义 httphandlers? 如果是这样,我可以知道你是如何设置它们的吗?

谢谢

I'd like to know if someone has experienced some issues with HttpHandlers at Arvixe hosting provider.

I have set my web site running in asp.net 4 integrated mode, httphandlers are set correctly into the web.config and they work in my windows 7 IIS7 pc.

On the hosting space the httphandlers don't seem to work.

Maybe someone has custom httphandlers working in .net 4 on arvixe?
If so, can I know how you set them?

Thanks

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

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

发布评论

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

评论(1

拿命拼未来 2024-10-09 10:20:21

我遇到了同样的问题,发现需要将处理程序注册添加到 system.webServer。像这样的事情:

<handlers>

<add name=".jpg" path="*.jpg" verb="GET" type="ImageHandler.HttpImageHandler" resourceType="Unspecified" preCondition="integratedMode" />

</handlers>

希望它会有所帮助(如果不是太晚了;-))。

I had same problem and found that is needed to add handler registration to system.webServer. Something like this:

<handlers>

<add name=".jpg" path="*.jpg" verb="GET" type="ImageHandler.HttpImageHandler" resourceType="Unspecified" preCondition="integratedMode" />

</handlers>

Hope it will help (if not too late ;-)).

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