I'm working with a requirement where I need to store both 'string messages' and 'various email templates' to send to user. I've come up with various solutions for it, but I'm confused which one to adopt to. So pls suggest which one among the below mentioned solutions would be more suitable to adopt to:

1) Storing both strings and email templates in the resources file (.resx file) in the application itself

2) Storing strings in the web.config file and storing the email templates in the database itself

I've come up with these two solutions as per my awareness. So kindly suggest which one among these will be a more suitable approach. Please suggest if anyone is aware of a better approach of handling the problem.

Related posts

Recent Viewed