Can WCF duplex service be used to call client when client is offline? -


is possible service call client after 4 -5 days when client offline? e.g. 1. client request reports through service. 2. service updates database client request. 3. offline work done on request 4. report uploaded database.

can service call client , send report report uploaded database?

can wcf duplex service used call client when client offline?

yes. wcf can configured use msmq transport. msmq only wcf transport allows three:

  • disconnected scenarios
  • resume when computer becomes online ,
  • optionally provide level of guaranteed delivery

msdn:

if need support disconnected queuing, use netmsmqbinding. queuing provided using microsoft message queuing (msmq) transport, enables support disconnected operations, failure isolation, , load leveling. more...

essentially invoke wcf method (send msmq message) , delivered when computer comes on-line again. assuming have set appropriate expiration options.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -