Microsoft
70-518 · Question #192
You are developing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application contains a grid that displays customer data stored in a database table. Users…
The correct answer is A. Use the System.Runtime.Caching.SqlChangeMonitor class. See the full explanation below for the reasoning.
Question
You are developing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application contains a grid that displays customer data stored in a database table. Users report that the grid takes a long time to display. You plan to implement data caching to improve loading time for the grid. You need to ensure that the cached data expires when the customer data is updated. What should you do?
Options
- AUse the System.Runtime.Caching.SqlChangeMonitor class.
- BUse the ADO.MET Entity Framework.
- CUse the System.Web.Caching.CacheDependency class.
- DUse a static variable to store the Grid object.
How the community answered
(22 responses)- A86% (19)
- B9% (2)
- C5% (1)
Community Discussion
No community discussion yet for this question.