asp.net Mvc : OutputCache con parametri multipli

se volete gestire il caching di una view mvc attraverso piu' di un parametro è sufficiente separare il nome dei parametri da ;

[OutputCache(Duration = 60, VaryByParam = "param1;param2")]


se volete fare il cache per qualsiasi combinazione di querystring si usa *


[OutputCache(Duration = 60, VaryByParam = "*")]

posted @ martedì 15 ottobre 2013 20:27

Print

Comments on this entry:

# apps for pc

Left by apps for pc at 11/03/2017 09:13
Gravatar
Android Buzz : Best Place to download all the latest android apks & apps for free. Android Buzz provides Apps for PC Guides and Tutorials.

# vigrx plus review

Left by vigrx plus reviews at 25/03/2017 12:44
Gravatar
VigRX Plus Review with an intention to reveal the facts on this Men’s health supplement product. vigrx plus price

# re: asp.net Mvc : OutputCache con parametri multipli

Left by rainierland at 02/05/2017 05:06
Gravatar
I enjoy a couple of from the Information which has been written, and particularly the comments posted I will definitely be visiting again.
rainierland

# Excellent essay writing service

Left by DennisUtipt at 06/03/2018 04:43
Gravatar

# Essay writing service

Left by DennisUtipt at 07/03/2018 09:20
Gravatar
Comments have been closed on this topic.
«aprile»
domlunmarmergiovensab
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011