gpt4 book ai didi

entity-framework - Microsoft 对 Entity Framework 中的二级缓存有何建议?

转载 作者:行者123 更新时间:2023-12-04 01:45:02 25 4
gpt4 key购买 nike

我用过 Jarek Kowalski 的“EF Provider Wrappers”。它工作正常,但我注意到“限制和免责声明”部分说:

The providers have not been extensively tested beyond what’s included in the sample code, so you should use them at your own risk.

As with any other sample, Microsoft is not offering any kind of support for it, but if you find bugs or have feature suggestions, please use this blog’s contact form and let me know about them.


我在这里有点困惑,微软真的希望开发人员在没有任何官方支持(或推荐)的情况下在生产网站上使用 EnityFramework 对二级缓存?

最佳答案

没有官方的二级缓存支持。我什至不确定 EF Provider 包装器是否与 .NET 4.5 兼容。二级缓存 is in backlog用于 future 版本的 EF。

您也可以实现自己的解决方案,因为 EF is fully open sourced .

顺便提一句。我已经看到数十个相当复杂的网站在没有任何缓存的情况下在生产中运行......

关于entity-framework - Microsoft 对 Entity Framework 中的二级缓存有何建议?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12000240/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com