Recommendation needed for text content, should I use text files or database?
- by Jörgen
I'm doing a web application in asp.net mvc. Now I'm at the point where I do alot of text info such as help texts, eula, privacy policy etc. I realized that I'm not sure what would the best way to store these texts.
1. Directly in the aspx page
2. In text files and then load the text via ViewData[] to the aspx file
3. In my sql database
If use option 3 how would I then design the database e.g. eula = table x, privacypolicy=table y?
I guess I just need some directions of what't the pros and cons with the options above.