Last post Oct 18, 2013 03:36 AM by KSighem
Aug 14, 2012 03:03 AM|KSighem|LINK
We are building an MVC Web application that serves multiple customers. Each customer has the option to customize text messages. The messages will be placed in the customers database. Each request is matched to a customer in beginrequest and a connection
for the request is made available to the customers database. So far I have not been able find a good solution to have MVC pull text from SQL.
Suggestions any one?
Aug 14, 2012 09:01 AM|ignatandrei|LINK
So far I have not been able find a good solution to have MVC pull text from SQL.
Did you follow some tutorials from http://www.asp.net/mvc ?!
Oct 16, 2013 03:38 AM|KSighem|LINK
Which particular MVC tutorial addresses the issue?!
Oct 17, 2013 12:31 AM|ignatandrei|LINK
You said: I have not been able find a good solution to have MVC pull text from SQL.
However I strongly reccomend to work entire tutorials
Oct 17, 2013 03:06 AM|KSighem|LINK
Obviously it is possible to store and retrieve texts like any other object from a database. However I have not found any thing in the turorials that explains how to do localization using database texts, with the possible exception of custom validations where
you can roll your own. It makes using the standard validation and clientside validation facilities next to useless. Lucky enough there is still a lot of good stuff in the MVC left that we can use.
But why not just say so: Localization with texts stored in DB is not supporten at this time. <- period.
Oct 17, 2013 05:10 AM|ignatandrei|LINK
Oct 18, 2013 03:36 AM|KSighem|LINK
Thanks, that is a great post on the codeproject