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 :)
精彩评论