Click here to Skip to main content
15,891,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new to MVC. Large blocks of text has to be displayed on some pages in the MVC4 project that I am working on. Text is supplied by another department few times a year, so must be updatable. What options are available for MVC4 project to handle these text blocks properly ? Can resource files be used?
Thank you
Posted
Comments
thatraja 25-Oct-13 9:15am    
why not database or xml?

1 solution

MVC4 has nothing to do with it. You have blocks of text. You can store them in your database, or you can paste them directly in to your controllers. There's nothing special about it. If the text can change, or you'd like a flexible system, put it in a database.
 
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