Closed neplan closed 10 months ago
Hi @neplan, I will have a look at this when I have time, probably in the next couple of days and hopefully find a solution
Hi @SandstromErik . This would be great. Thank you.
I found that the ChannelFactory
is opened when retrieving it in the extension method, which means that adding additional EndPointBehaviors
will not initialize them, i.e. ApplyClientBehaviour
will not be called for the additional behaviour.
I am investigating if ChannelFactory
needs to be opened or if that code can be removed.
Ok. Thank you.
Am 05.07.2023 17:28, schrieb Erik Sandström:
I found that the
ChannelFactory
is opened when retrieving it in the extension method, which means that adding additionalEndPointBehaviors
will not initialize them, i.e.ApplyClientBehaviour
will not be called for the additional behaviour. I am investigating ifChannelFactory
needs to be opened or if that code can be removed.
If you need to add your custom behaviour you need to write your own DomainClientFactory, se https://github.com/OpenRIAServices/OpenRiaServices/issues/267#issuecomment-779403405 for a similar issue and proposed solution.
Some other notes:
Describe the bug After updating from 4.6 to 5.3.1 the authentication is not working anymore. We have found out thath our SharedCookieHttpBehavior is not working as we expected. The ApplyClientBehavior seems not to be called:
We are adding this Endpointbehavior in the EndpointBehavior of the channel:
Are we missing something?