开发者

How do i configure using a custom ServiceHostFactory with an Ajax Enabled WCF service

I am working on a Ajax enabled WCF service, and I need to use a custom ServiceHostFactory. I found several posts like this one

However even though i have added the factory parameter to the svc file (like you see below) the factory is never called:

<%@ ServiceHost Factory="CustomHostFactory" Language="C#" Debug="true" Service="mysite.ScriptingService.BasketScriptingService" CodeBehind="BasketScriptingS开发者_如何学编程ervice.svc.cs" %>


Turnes out it was another problem that prevented the factory from being called. So it actually already worked :)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜