简体   繁体   English

ASP.Net下的实体框架缓存

[英]Entity Framework caching under ASP.Net

I was trying to find out which Entity Framework objects, if any, remain live after the end of an HTTP request that is being handled by ASP .Net? 我试图找出哪些实体框架对象(如果有)在由ASP .Net处理的HTTP请求结束后仍保持活动状态?

ie Does an ASP .Net application benefit from any of the Entity Framework caching mechanisms across different requests? 即ASP .Net应用程序是否受益于跨不同请求的任何Entity Framework缓存机制?

This article describes the operations that are occurring under the hood: 本文介绍了在后台进行的操作:

http://msdn.microsoft.com/en-us/library/cc853327.aspx http://msdn.microsoft.com/en-us/library/cc853327.aspx

So I am wondering whether all of these things are repeated for every http request. 因此,我想知道是否对每个http请求都重复了所有这些操作。

根据Julia Lerman的“ Programming Enttity Framework(O'Reilly)”,ObjectContext无法幸免于回发

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM