How did I get this NullReferenceException error here right after the constructor?

后端 未结 6 1614
难免孤独
难免孤独 2020-12-04 21:22

I\'ve had an asp.net website running live on our intranet for a couple of weeks now. I just got an email from my application_error emailer method with an unhandled exception

6条回答
  •  醉酒成梦
    2020-12-04 22:14

    As of .NET 4.0 you can use ConcurrentDictionary and avoid the threading issues associated with manipulating the same dictionary from multiple threads simultaneously.

提交回复
热议问题