Hello, I'm creating a web based questionnaire in MVC where the questions are generated from a CSV file. The format is one question per page. I don't want to have to parse the CSV file every time the user goes to the next question but parse it once at the beginning of the questionnaire. At the moment the CSV file is parsed in the Controller's constructor and there is a method for returning a view with the next/previous question.
What is the best way of going about this so that the CSV file only has to be parsed once?
I'm relatively new to the production of dynamic websites so any help would be greatly appreciated.
Thanks