开发者

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

开发者 https://www.devze.com 2023-01-25 19:55 出处:网络
I\'d like to know if someone has experienced some issues with HttpHandlers at Arvixe hosting provider.

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

精彩评论

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