Asynchronous DirectMethod

Page 1 of 3 123 LastLast
  1. #1

    Asynchronous DirectMethod

    Hi,
    I have a small query. I am making a small chat app and confused between using Asynchronous Http Handler or DirectMethod to receive messages.

    Can you tell me if DirectMethod is Asynchronous or if can be made into an Asynchronous request on server just like AsyncHttpHandler?

    Thanks,
  2. #2
    Hello!

    DirectMethod is asynchronous. It's implemented via Ajax.
  3. #3
    Are you sure? I am trying to do long polling in a direct method.

    On client side certainly its Asynchronous, but the webmethod it creates on server side, is that Asynchronous. I believe no. How can we possibly make that asynchronous?
  4. #4
    Hi,

    On the server-side, the Method call is not asynchronous.
    Geoffrey McGill
    Founder
  5. #5
    Thanks Geoff,
    Any idea on how can I implement this without HttpHandler? Or rather through DirectMethod. Any example tht u can provide?
  6. #6
  7. #7
    Hi,
    Thank you for the links...
    I had already read these links before posting for query here. I had problems with implementing asynchronous call through direct method. And so I posted here. Wondering if Geoff or Vlad and come up with a simple example to show its possible.

    Thanks,
  8. #8
    Ne1... ne thoughts on how to implement?
  9. #9
    Quote Originally Posted by amitpareek View Post
    Ne1... ne thoughts on how to implement?
    This might be of interest to you, see

    http://www.frozenmountain.com/websync/
    Geoffrey McGill
    Founder
  10. #10
    Maybe also of interest to you:

    http://fluorinefx.com/
Page 1 of 3 123 LastLast

Similar Threads

  1. AjaxMethod - is it Asynchronous
    By glenh in forum 1.x Help
    Replies: 2
    Last Post: Jul 12, 2012, 9:34 PM
  2. DirectMethod NullReferenceException
    By bayoglu in forum 1.x Help
    Replies: 2
    Last Post: Apr 04, 2012, 4:26 PM
  3. Replies: 2
    Last Post: Feb 02, 2012, 5:30 AM
  4. [CLOSED] Difference between DirectMethod , DirectEvent, Static DirectMethod
    By syllabusarq in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 01, 2011, 11:37 AM
  5. Synchronous DirectMethod?
    By glenh in forum 1.x Help
    Replies: 1
    Last Post: Sep 14, 2010, 5:11 AM

Posting Permissions