Base solution for your next web application

Activities of "marcosb"

Thanks for the reply.

After cleaning all assemblies, and referencing again it works as expected.

Just a comment on using Configuration.Localization.IsEnabled = false. Even if you set to false it still has effect on the thread culture. I had to put the following code on my application, to avoid Abp overriding my culture settings (which is as <globalization uiCulture="en-US" culture="en-US" /> in the web.config)

    protected override void Application_BeginRequest(object sender, EventArgs e)
    {
        var currentCulture = System.Threading.Thread.CurrentThread.CurrentCulture;
        base.Application_BeginRequest(sender, e);

        System.Threading.Thread.CurrentThread.CurrentCulture = currentCulture;
        System.Threading.Thread.CurrentThread.CurrentUICulture = currentCulture;
    }

Thanks for the reply.

Previous to the post I searched for json.net but found nothing. After you replied and told me that you were using dictionaries without problems I continued investigating and finally found that the issue was related to the new version of automapper, and how it mapped dictionaries.

Problem solved. It was not related to ABP. You can close this post or remove it if you want to avoid confussion. Thanks.

Showing 1 to 2 of 2 entries