Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
据我了解,ASP.NET 缓存是 w3wp 进程的一部分,这意味着写入和读取它
(与使用执行所有这些操作的 ASP.NET 会话状态服务器相比)
它是否正确?
如果您指的是 HttpContext.Current.Cache,那么它将是 w3wp 进程的一部分。这种形式的缓存存储在内存中,不需要序列化。
它不应该跨越进程边界,否则将是一场灾难。这也适用于编组。