Lazy loading a query to improve caching on ASP.net MVC(code.sayao.net)
submitted by
sayao(85) 2 years, 9 months ago
This article explains an approach to lazy load a database query on an ASP.net MVC controller to prevent the query from executing on it, and just execute on the View, if it's not cached. So, if the View is cached, the database is not queried.
|category: ASP.NET
|Views: 51
tags:
ASP.NET another
Everyones tags:
Your Tags: