tags:

views:

46

answers:

1

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" %>
A: 

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

Christian Nielsen