User-758219241 posted
Hi,
I am writing an ASP.NET MVC application, and I would like to implement database caching. My objective is detailed as below -
- There is one stored procedure which retrieves data from database, and presents them to the screen.
- The resultset is presented as a multi-columner list in my page, and it has Edit button.
- Now when user clicks on "Edit" button, I would like my application to get that row from database only if at least one of the column been changed, otherwise, I want the cached data to be used that will be presented in Edit form. Because I want minimum round-trips
and database operations.
What is the best way to achieve this?
Do let me know if anything above does not make sense.
Any suggestions, Much Appreciated
Thanks