次のコードを想定してみましょう。
[OutputCache(Duration=60,VaryByCustom="Browser")]
public ActionResult CachableAction(string SomeParameter)
{
return View();
}
そんなこと知ってるOutput caching lets you store the output of an action method in memory on the Web server. For example, if the action method renders a view, the view page will be cached.
デバッグ構成でページをキャッシュしたくありません。
Release
構成ではなく キャッシュのみを適用するには、どのような設定が必要Debug
ですか?
私はVS2010を使用しています。