¿WCF autohospedado no ejecuta Factory (CustomHostServiceFactory)?
Frecuentes
Visto 53 veces
1
I have a WCF service that can be placed in both IIS7 and in selfhost. The SVC file looks like this :
<%@ ServiceHost Language="C#" Debug="False" Service="MyApp.ServiceImplementation.MyAppClientService" Factory="MyApp.ServiceImplementation.CustomHostServiceFactory"%>
The problem is that the CustomHostServiceFactory will not be runned if the serivce is selfhosted? Is there a way to get this to work?
When running from IIS7 it works fine.
1 Respuestas
1
I will have to run the init code manually when using selfhost.
Respondido el 17 de Septiembre de 12 a las 09:09
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas wcf iis factory self-hosting service-factory or haz tu propia pregunta.