Exemplo n.º 1
0
        public ActionResult Index()
        {
            var ctr = (int)(Session["counter"] ?? 0);

            ctr++;
            Session["counter"] = ctr;
            var application = HttpContext.ApplicationCache();


            var someViewClass = (SomeViewClass)application["cachethis"];

            return(View(someViewClass));
        }