Threading in a web-based app

Discussion in 'ASP .Net' started by Lenny Pervin, Jul 5, 2003.

  1. Lenny Pervin

    Lenny Pervin Guest

    Hi,

    Has anyone done threading programming in a ASP.NET. any issues with that?
    For example how do you inform users when tread is completed after response
    was sent to a browser? What if you want to display a progress bar in a
    browser (it can be a WinForm object), can it be done?

    Thanks
     
    Lenny Pervin, Jul 5, 2003
    #1
    1. Advertising

  2. Lenny Pervin

    Oisin Grehan Guest

    As much as Microsoft has tried to make ASP.NET look like a winforms
    event-driven architecture, this is purely a facade. Underneath the hood, you
    cannot escape the client-server, question-answer synchronous architecture
    underneath. We are all bound by HTTP at the end of the day. So, short of
    embedding a custom plugin hosted inside of IE that maintains a permanent
    connection to the server, you can't really do this. You can give the an
    illusion of it with some smart use of frames and client-side javascript, but
    this is beyond the scope of a Usenet post. Keep your ASP.NET server-side
    code synchronous and single threaded. Keep multithreaded asynchronous code
    within WinForms. Of course, there are exceptions to this, but it's only a
    guideline.

    Hope this helps,

    - Oisin

    "Lenny Pervin" <> wrote in message
    news:...
    > Hi,
    >
    > Has anyone done threading programming in a ASP.NET. any issues with that?
    > For example how do you inform users when tread is completed after response
    > was sent to a browser? What if you want to display a progress bar in a
    > browser (it can be a WinForm object), can it be done?
    >
    > Thanks
    >
    >
     
    Oisin Grehan, Jul 8, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Robert Lie

    windows app vs web based app

    Robert Lie, Dec 20, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    681
    Kevin Spencer
    Dec 20, 2005
  2. TheRookie
    Replies:
    0
    Views:
    437
    TheRookie
    Jan 19, 2004
  3. John
    Replies:
    2
    Views:
    740
    Thomas Weidenfeller
    May 19, 2005
  4. Replies:
    9
    Views:
    1,103
    Mark Space
    Dec 29, 2007
  5. Steven Woody
    Replies:
    0
    Views:
    453
    Steven Woody
    Jan 9, 2009
Loading...

Share This Page