asp.net, wcf, app_globalresources
Posted on 2012-08-15
I have App_GlobalResources with Resource.resx and Resource.zh-HK in my web application.
And I also have WCF project with reference of my web application.
How can I get the Resource.resx information and put into my WCF project?
like the following codes in my wcf cs file.
The "Company Name" should be captured from App_GlobalResource file. Is it possible to do that? If yes, how? Thanks
table.AddCell(new Phrase("Company Name:", bodyFont));
table.AddCell(new Phrase(DataLibs.CompanyName, bodyFont));