I am creating a variable number of service hosts at runtime depending on runtime info. However, each of them should use a common service behavior that is known at design time. As such, I'd like to define the service behavior in my config file
and apply it to the runtime created hosts. It appears the method to apply a service behavior to a programmatically created service host is:
However, I'm having trouble figuring out how to acquire an IServiceBehavior reference to the behavior defined in the config file. Is there a factory out there I can use or a static WCF construct I can query?
View Complete Post