Re: Static Members in ASP.NET
Brad Wilson <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Message-ID | <[email protected]> |
As long as you have no data being shared, there isn't a problem. (And the issue of shared data has nothing to do with whether the method is static or not.) But yes, requests run in parallel on separate threads. On 4/27/07, Brady Kelly <[email protected]> wrote: > > 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(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > -- http://www.agileprogrammer.com/dotnetguy/ http://www.flickr.com/photos/dotnetguy/ =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com