Re: Static Members in ASP.NET

Gyorgy Bozoki <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <000301c788d2$281e42d0$9cfcbb4c@homepc>
Yes, they do. Your static function should be fine as long as it uses only
local variables, otherwise it needs some kind of synchronization.

HTH,
Gyorgy Bozoki

> -----Original Message-----
> From: Discussion of building .NET applications targeted for
> the Web [mailto:[email protected]] On Behalf Of
> Brady Kelly
> Sent: Friday, April 27, 2007 08:11
> To: [email protected]
> Subject: [DOTNET-WEB] Static Members in ASP.NET
>
> I haven't really had the time to look into this, but I've
> just become suspicios of static method I added to a helper
> object.  Normally all my Winforms helper methods are static,
> but they're all basically single threaded.  What are the
> threading implications of a static helper method in ASP.NET?
> Don't concurrent requests run in separate threads that all
> share the same static helper method?

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.