Thread-safe Code

E

Erik J Sawyer

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top