Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello.

I want to develop an application for displaying Result of Students. The result is once compiled than do not incorporate any change in it.

I have heard about the Caching in ASP.NET. Almost 1 Lac users expected on the same time once application goes live. So i want that each time instead of calling the database the data should come from cache.

Please provide me some good ideas (preferable with sample or links) to manage the application according to needs.

Thank you.
Posted
Comments
CHill60 10-Jun-15 9:17am    
If the result is "fixed" then why store it on a database? Why not just have a single query run once that presents the results presented in HTML which can just be navigated to?
njammy 10-Jun-15 14:15pm    
Normally results are printed out and pinned to a wall.

1 solution

When your application initializes, have it open a connection and read the data into a Recordset, then close the connection. If the Recordset is kept in an application global variable (defined in global.asax, it has application lifetime, and is effectively cached.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900