Nested partial output caching in asp.net mvc 3
- by Anwar Chandra
Hi All,
I am using Razor view engine in ASP.Net MVC 3 RC 2
this is part of my view city.cshtml (drastically simplified for the sake of simple example)
<!-- in city.cshtml -->
<div class="list">
@foreach(var product in SQL.GetProducts(Model.City) )
{
<div class="product">
<div>@product.Name</div>
<div…