Howdy,
I have a silverlight application that we implemented custom authentication using a custom IPrincipal and IIdentity. My initial test were between two XP machines running IIS. In these these test the ApplicationContext.User flowed back to the server on DataPortal calls. I have deployed the application to a Server 2008 system and now the User object is blank. Its not null but it doesn't contain any of the user information in it. I have fiddled with some of the settings in IIS7 but nothing seems to change this behavior.
Does anybody have any suggestions?
Thanks
dbl
Have you confirmed that the User object is fully populated and correct on the client after the user logs in?
The data portal doesn't do anything fancy. It just serializes the client-side Principal object to the server.
I discovered that this was not actually related to the IIS 7/2008 but was related to the issue talked about here:
http://forums.lhotka.net/forums/t/8914.aspx
with the optimizer causing issues with public/private properties. The same problem occurred when I built in "Release" mode locally. So it appeared to be an issue when pushing it up to the server but it really wasn't.
Thanks
dbl
Copyright (c) Marimer LLC