May 29, 2019 12:03 PM|PatriceSc|LINK
For now the problem seems to happen on your AccountsRow. You really need to serializable a single DataRow ? IMO you would have to serialize the DataTable that contains this row.
Also it seems a bit weird to read data from a db and then to have them serialized to SQL Server. IMO :
- consider the session as a cache and try to store few values you are using very often
- also I prefer to hide that behind a facade so that it can be reloaded as needed. This way your app doesn't care about session.