Last post May 29, 2014 10:42 AM by Saavik
May 22, 2014 11:38 PM|Saavik|LINK
After website has gone live, is it possible to update string resources without recompiling and uploading the whole site?
Also, if there are multiple .resx files (for each supported language), how do you keep them synchronized?
Ideas most appreciated.
May 23, 2014 02:32 AM|FilipePeixinho|LINK
If you are talking about .resx for aspx files sure you can. When doing a publish just choos the option to allow application to be updatable.
May 23, 2014 06:13 PM|Saavik|LINK
Thank you for your quick response. I have chosen the option to allow application to be updatable, but App_GlobalResources.dll is still generated, and and I am not clear on how to update the resources in the published website.
Help is most appreciated.
May 28, 2014 11:04 PM|Angie xu - MSFT|LINK
For this resources .resx file update issue, it's recommended to learn relevant discussions below, it's available for you.
Best approach to update resources .resx file:
How to deploy the resx files: http://forums.asp.net/t/1558861.aspx
hope it helps.
May 29, 2014 10:42 AM|Saavik|LINK
Angie. The second reference was more relevant to my needs.
After looking at these (and other) pages on resources, it seems there is no way to update resources in App_GlobalResources without updating the whole site, because resources in App_GlobalResources compile into App_GlobalResources.dll, and I could not find
a way to compile ONLY the resources without publishing the whole site.
Unless I am missing something, that is a shame, since a simple type fix would necessitate a website to go down for update, even if only for a few minutes.