Thread-safe Code

Discussion in 'ASP .Net Web Services' started by Erik J Sawyer, Oct 2, 2003.

  1. I am considering using web services as an alternative to
    DCOM/COM+ components for middle-tier logic. I have
    developed COM+ components in the past, using VB6, but
    they were obviously STA, so threading was a minimal
    concern.

    My question is, how concerned should I be with making my
    code thread-safe when using a VB or C# web service? Will
    ASP.Net automatically serialize calls so that each
    instance will ignore the others? I am not maintaining
    any component state between calls, and the web service
    component itself is fairly simple and single-threaded.

    Thanks,
    Erik J. Sawyer
    Webmaster
    Kingsport City Schools
    www.K12K.com
     
    Erik J Sawyer, Oct 2, 2003
    #1
    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. Gabriel Rossetti
    Replies:
    0
    Views:
    1,363
    Gabriel Rossetti
    Aug 29, 2008
  2. Replies:
    1
    Views:
    355
    Brian Candler
    Aug 12, 2003
  3. Aredridel

    Not just $SAFE, but damn $SAFE

    Aredridel, Sep 2, 2004, in forum: Ruby
    Replies:
    19
    Views:
    253
  4. Farrel Lifson

    $SAFE =4 safe enough?

    Farrel Lifson, Aug 29, 2006, in forum: Ruby
    Replies:
    7
    Views:
    111
    Eric Hodel
    Aug 31, 2006
  5. John Nagle
    Replies:
    5
    Views:
    485
    John Nagle
    Mar 12, 2012
Loading...

Share This Page