Is HttpModule shared among working threads?

Posted by TN on Stack Overflow See other posts from Stack Overflow or by TN
Published on 2010-04-11T23:08:25Z Indexed on 2010/04/11 23:13 UTC
Read the original article Hit count: 227

Do I have to lock access to instance members?

Example:

public class HttpModule : IHttpModule
{
    //...

    Dictionary<int, int> foo;

    void UseFoo(int a, int b)
    {
        foo[a] = b;
    }
}

© Stack Overflow or respective owner

Related posts about iis

Related posts about ASP.NET