Are there any performance issues or caveats with resource (.resx) files?

后端 未结 8 1949
遇见更好的自我
遇见更好的自我 2020-12-15 22:16

Resource files seem great for localization of labels and messages, but are they perfect?

For example:

  1. Is there a better solution if there is a huge amo
8条回答
  •  悲哀的现实
    2020-12-15 22:36

    I recently used a .resx file with 5 million strings (normal length, like this sentence), compiled in different DLLS about 1 GB in size. It still works fine in an Azure web project.

    The load time is unknown, maybe few seconds or so, since it always can heat up in stages, I never noticed it.

提交回复
热议问题