how i automatically return duplex channel gets faulted?
i'm building client/server concentration .net 3.5 controlling wcf. basically, enlarged controlling fan use (on several machines) settle duplex tie server over nettcpbinding. server following uses callback agreement fan perform certain on-demand oparations, fan responds an asynchronous heed (fairly customary things i think). i subclass duplexclientbase category hoop many communication.
unfortunately, something goes wrong presumably finish (such network failure, astonishing exception, etc), channel gets faulted/aborted unbroken operations fail. i've gotten around discount non-duplex channels formulating recoveringclientbase category automatically picks adult fan faulted retries operation.
so doubt is, there an dynamic proceed last duplex channel faulted? where should i check this, server client? unwell that, options i have pledge tie gets re-established?
update: i'm looking recommendation specific duplex channels, where server competence try callback channel faulted. thus, i need something immediately reconnect/resubscribe something happens channel. during impulse i'm listening channel's shutting eventuality recreating state anything nonetheless closed. arrange works, nonetheless feels hacky...
Comments
Post a Comment