I have a simple WPF application and recently upgraded from 4.1 to 4.2 and authentication didn't work anymore.
I've compared the source between 4.1 and 4.2, and it seems related to the way the user it stored in the ApplicationContextManager. I'm performing authentication on a background thread to avoid freezing the UI and since the user is set to Thread.CurrentPrincipal, it gets lost in the process...
Is there a workaround for this problem?
A WPF application must reference Csla.Xaml.dll so the correct ApplicationContext.User provider is used. WPF requires special of the principal, and that special handling is implemented in a provider that is in that assembly.
Thank you for your help.
Copyright (c) Marimer LLC