I have a central library (DLL) called Core, which is used by many projects (some web applications, some forms of winnings, some other class libraries).
Some resources are stored in the Core library.
When I need to use the resource file in the Core library, I need to know what culture information is. Since it is sometimes used in a win form application, sometimes in a web application, I cannot use the culture from HttpContext or from CurrentThread.
I assume this is a common problem, so I'm wondering:
What is a good strategy for passing culture information around DALs and user interface projects?
source share