There is a scope attribute that can be added to a behavior.  The value of 
explicit means it will only be added to ServiceHost explicitly.  I believe it 
is available through xml

On Mar 11, 2011, at 8:14 PM, Scott_M wrote:

> My web app has three 3 wcf services each needing different service
> behaviors.  I can register 3 custom behaviors for windsor in
> web.config.  Unfortunately castle will apply all three service
> behaviors against each servicehost.  Is there a good way to target a
> given service behavior against a given service/service host?
> 
> -- 
> 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