I needed to switch over to SQL session state for asp.net and I've run into a problem where IB entities aren't serialized (at least the session manager doesn't think they are). So I do a normal entity manager call and get an entity set back. Trying to put this in Session throws an error "Unable to serialize the session state...".
Everything I've found so far says that you need the serialize attribute on the class and I see where there's a datacontract attribute, but I have run into problems before where I had to have both. Is there an easy way to handle this? I would hate to either call the database every time to get this data or create a dummy class to transition the entity to.
Thanks.