ITsolutionWizard
asked on
mvc cache
I have the following codes in layout page in MVC project.
And I want to use mvc cache. e.g. within 8 hours using the cache. Is it possible?
And I want to use mvc cache. e.g. within 8 hours using the cache. Is it possible?
<li>
<span><a href="#"><i class="icon-bus"></i> Class A</a></span>
<ul>
@foreach (Domain.Fleet fHostAdmin in rv.FleetActiveList(locationName))
{
if (fHostAdmin.FleetClassType.Substring(0, 1) == classAString)
{
<li><a href="@DomainHelper.Generic.GethttpType(Request.ServerVariables["HTTPS"], HttpContext.Current.Request.Url.Authority)/Home/Detail/@fHostAdmin.QuickFindKeyWord?fleetID=@fHostAdmin.Oid"><i class="icon-check"></i> <b>@fHostAdmin.FleetClassType</b>: @fHostAdmin.FleetName <label style="color:red;">(@fHostAdmin.FleetBaseRatePricingLabel)</label> </a></li>
}
}
</ul>
</li>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER