Custom BehaviorExtensionElement in WCF instancing rules
Is behavior of creating instances of BehaviorExtensionElement documented? How much instances of BehaviorExtensionElement can WCF create for an ea开发者_JS百科ch service? Just one per service or one for an each instance of service class?
I haven't seen any documentation on how the internals of the BehaviorExtensionElement are implemented but I believe you only have one per service configuration. It does allow you to add many different types (service, endpoint, operation, contract) of behaviors to a service. You've probably already seen the none to helpful documentation here. A better article is here also on MSDN but with examples.
精彩评论