Last post Jul 15, 2008 06:31 AM by bijukprm
Aug 25, 2006 02:53 PM|PhatBoyG|LINK
Aug 27, 2006 08:05 PM|PhatBoyG|LINK
This has been resolved with the following workaround:
The issue is that cassini will break into separate AppDomains at will, which doesn't happen in IIS (even though they say it CAN). Because of this, when Atlas is trying to convert to the JSON to something on the server, it does something and switches and
the .User custom principal doesn't deserialize because the assembly is not in the GAC and not registered with the other AppDomain.
So, to avoid this for now, I've added a MarshalByRefObject to the base of my principal and identity objects and that seems to have resolved the issue for now.
I'm not sure of any further performance problems with this approach, but we only need this for development and will probably just take the base class out for production builds.
Jul 15, 2008 06:31 AM|bijukprm|LINK
thx man...it helped...can u give me more info on solving this...?