Hi!
I am having a problem with Serialization and references.
It took me 2 hours to find that my problem was lying on Serialization of objects.
The point is that I can't make object Equals when they are serialized on different points of the project.
When I turn my SavePersistentMedium to the Session variable, it works fine because it doesn't change the GetHashCode whenever and wherever my variable are saved.
Here is a simple project to show my problem... the aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
Go to the complete details ...