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="BasketScriptingService.svc.cs" %>