Can WCF Facility be used to register a WCF service (IIS hosted) with 
multiple bindings where the bindings are specified in web.config and not in 
code?


Have a service that need to expose over http and net.tcp bindings but would 
like for binding info to be in web.config and not in installer if possible. 
  here is what I have so far but not sure if this is correct:

    //Register our one and only wcf service
            container.AddFacility<WcfFacility>();
            container.Register(
                Component.For<IFooService>()
                         .ImplementedBy<FooService>()
                         .LifestyleTransient()
                         .Named("FooService") //Component name must jive 
with service name in web.config / serviceactivations
                         .AsWcfService(new DefaultServiceModel().Hosted()));



-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/castle-project-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to