Concurrency ASP.NET best-practices worst-practices

前端 未结 2 522
猫巷女王i
猫巷女王i 2021-01-16 05:46

In which cases to you need to watch out for Concurrency problems (and use lock for instance) in ASP.NET?

  • Are there \'best practices\' around on this topic
2条回答
  •  庸人自扰
    2021-01-16 06:09

    Since ASP.NET is a web framework and is mainly stateless there are very few concurrency concerns that need to be addressed.

    The only thing that I have ever had to deal with is managing application cache but this is easily done with a cache-management type that wraps the .NET caching mechanisms.

提交回复
热议问题