SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Another is this possible question: I have 4 webparts that read in a csv file, process it and create a IEnumberable that is used for graphing. Right now the webparts each read in and process the file. I was wondering if there is a way i could save off the result with a time stamp and then have the webparts use this (provided the timestamp doesn't indicate that it is old) stored version. I know a web service might be a way to solve this but that would be out of ideally looking for something simple where you could store it then pull it out/cast. Any ideas welcome :)


share|improve this question
up vote 1 down vote accepted

This is a straight forward caching question, so I'd use HttpRuntime.Cache in the first instance.

Here's a scenario from Tobias Zimmergren:

share|improve this answer
Easier than what i had just come up with which was to create a connectable web part that would process the CSV and serve up the IEnumerable on request. Many thanks! – MikeC Jul 20 '12 at 20:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.