locked
Access resource file using webservice RRS feed

  • Question

  • User-237762943 posted

    Hi I need to access a resource file in a web application, using a WCF web service.

    The webservice will be hosted in the same domain as the web application, but its business logic is in another assembly.

    How can I retrieve the correct resouce file (according to the current culture) from the business layer, and returning a List of KeyValue pair from it?

    Thank you.

    Wednesday, February 10, 2010 12:02 PM

All replies

  • User-519136805 posted

    Access the Resource file : http://support.microsoft.com/kb/319292


    If you want to replace resources on the fly as you described, you'd have to use your own resource loading mechanism. I'm pretty sure that you can not use the built-in resource mechanisms for that.


    Hope this will help


    Saturday, February 20, 2010 2:22 AM