I have a central library (DLL) called Core that is used by many projects (Some web apps, some win forms, some other class libraries).
Some resources are stored in the Core library.
When I need to use a resource file in the Core library, I need to know what the culture info is. Because it is sometimes used in a win form app, sometimes in a web app, I can't really use the culture from HttpContext or from the CurrentThread.
I imagine that this a common problem, so I am wondering :
What's a good strategy to pass the culture information around between DAL dlls and UI projects?