0
我的ASP.Net 3.5 SP 1 MVC 1.0 Web应用程序使用多种语言的资源(resx)。默认语言是英语。全球资源和Windows Azure
我的资源在尝试显示任何资源之前从当前线程中挑选出正确的语言。
System.Threading.Thread.CurrentThread.CurrentUICulture = System.Globalization.CultureInfo.GetCultureInfo(Model.CurrentCultureCode);
System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.CreateSpecificCulture(Model.CurrentCultureCode);
所有这一切工作正常,直到我开始迁移到Windows Azure。
在Windows Azure中,虽然Model.CurrentCultureCode具有正确的值,但相同的代码似乎卡在英语事件中。
其他人在迁移到Windows Azure时正在尝试类似这样的事情吗?