wcf - Syntax to Specify both ServiceBehavior and EndpointBehavior? -
looking @ http://msdn.microsoft.com/en-us/library/ms731303.aspx, , http://msdn.microsoft.com/en-us/library/ms789007.aspx, examples given specify servicebehavior, there way specify endpointbehavior in behaviorconfiguration well?
<service name="servicename1" behaviorconfiguration="servicebehavior1;endpointbehavior1"> ... <behaviors> <servicebehaviors> <behavior name="servicebehavior1"> ... </behavior> </servicebehaviors> <endpointbehaviors> <behavior name="endpointbehavior1"> ... </behavior> </endpointbehaviors> </behaviors> ...
silly question, endpoint element of web.config has own behaviorconfiguration attribute.
<endpoint behaviorconfiguration="endpointbehavior1" ...
Comments
Post a Comment