开发者

Custom BehaviorExtensionElement in WCF instancing rules

开发者 https://www.devze.com 2023-02-22 09:27 出处:网络
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 fo

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消