Usually, a new ServiceHostBuilder uses a corresponding IWcfServiceModel.  It 
seams that in your example, you are adding another builder for the 
DefaultServiceModel.  Since one already exists, that is the one being used. 

On Jan 20, 2011, at 7:10 PM, Jesse wrote:

> I need to create a custom ServiceHost but still keep benefitting from
> the WCF Facility. My ServiceHost extends DefaultServiceHost and  I
> thought I could create this by implemenenting IServiceHostBuilder. I
> register the service host builder like so
> 
> Component.For<IServiceHostBuilder<DefaultServiceModel>>().ImplementedBy<RetailServiceHostBuilder>(),
> 
> but my custom IServiceHostBuilder never gets called and the
> DefaultServiceHostBuilder from the WCF Facility still is the one
> creating the Host. How can I get my custom IServiceHostBuilder to run?
> Or is there a better way to create my own ServiceHost?
> 
> Thanks,
> Jesse
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Castle Project Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/castle-project-users?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to