Recommendation needed for text content, should I use text files or database?
Posted
by Jörgen
on Stack Overflow
See other posts from Stack Overflow
or by Jörgen
Published on 2010-03-21T05:55:26Z
Indexed on
2010/03/21
6:01 UTC
Read the original article
Hit count: 376
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.
© Stack Overflow or respective owner