Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/32.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 带有SqlDependency的OutputCache_Asp.net_Sql Server 2008_Caching - Fatal编程技术网

Asp.net 带有SqlDependency的OutputCache

Asp.net 带有SqlDependency的OutputCache,asp.net,sql-server-2008,caching,Asp.net,Sql Server 2008,Caching,继续我对asp.net缓存的研究。 通过对a的评论,我得出结论:满足我需求的最佳缓存方法是asp.net的内置OutputCache。 我看到这个指令包含一个SqlDependency选项,并且有一个CommandNotification选项。回顾这一点,我发现人们只谈论SQLServer2005 此选项是否已被弃用 有更好的选择吗 我要做的是缓存一个页面,只要底层数据没有被更改。 我正在使用SQLServer2008R2作为该站点的后端

继续我对asp.net缓存的研究。 通过对a的评论,我得出结论:满足我需求的最佳缓存方法是asp.net的内置OutputCache。 我看到这个指令包含一个SqlDependency选项,并且有一个CommandNotification选项。回顾这一点,我发现人们只谈论SQLServer2005

此选项是否已被弃用

有更好的选择吗

我要做的是缓存一个页面,只要底层数据没有被更改。 我正在使用SQLServer2008R2作为该站点的后端