Last post Aug 25, 2011 04:02 AM by HeartattacK
Aug 23, 2011 11:50 PM|nguyen190887|LINK
My application consists of 3 project:
I got a requirement to support multi-lingual for my application. I intended to use the resource files for the website project (resource files are put in App_GlobalResources directory). However, since some classes in the business logic project also contain
messages (e.g: error message, warning message, etc.), I'm going to put the resource files into a separated class library instead.
My question is that is there any comparison about performance between using "website" resource files and "class library" resource file? Is my solution the best in this case? Could you please give me advice?
Aug 23, 2011 11:58 PM|HeartattacK|LINK
There shouldn't be any considerable loss of performance for putting the resources in a separate assembly.
Aug 25, 2011 02:28 AM|nguyen190887|LINK
You meant there is no performance impact when we put the resources in a separate assembly, right? (Sorry for my bad English)
Aug 25, 2011 04:02 AM|HeartattacK|LINK
Well the assembly will need to be loaded (as with any dll) but I'd say that's quite insignificant.