--
You received this message because you are subscribed to the Google Groups "Autofac" group.
To post to this group, send email to aut...@googlegroups.com.
To unsubscribe from this group, send email to autofac+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/autofac?hl=en.
--
You received this message because you are subscribed to the Google Groups "Autofac" group.
To view this discussion on the web visit https://groups.google.com/d/msg/autofac/-/POvGWPCUtpEJ.
Hi Kostas,
In the case of self-hosting you have to add the endpoint behaviors to the Behaviors collection on the service endpoint before opening the service host, so you could resolve any instances of IEndpointBehavior from the container and add them before opening the host manually. For IIS hosting, we could resolve the behaviors from the container for you and add them before opening the service host. Do you have a particular scenario in mind?
Cheers,
Alex.