16May, 2021
In our latest project I have been storing an instance of an object in the User's session, which can be recycled on each page load and cuts down load times but 60%. This simple model, which of course must be decorated with [Serializable] or you'll get the error “Type 'xxx' in Assembly 'xxx, Version=...' is not marked as serializable”, has a bunch of reference data pertaining to the User's location. So, when I added some additional data which changed the class, Redis didn't like that. Not. One. Bit.
Read More