开发者

Problem with HttpHandlers in a asp.net 4 integrated mode hosted at arvixe.com

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 cu开发者_如何学Cstom httphandlers working in .net 4 on arvixe? If so, can I know how you set them?

Thanks


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 ;-)).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜