I get SerializationException when trying to save EPiServer.Community.ImageGallery.Image to ViewState. Image has a EntityTags collection of type EntityTagCollection, inherited from FrameworkEntityBase class. Image, FrameworkEntityBase, EntityTagCollection are marked as serializable, but the only implementor of IEntityTag(used by EntityTagCollection members) - EntityTag class is not serializable.
I thought about using Session, but potentially site will have thousands of users and I don't want to load server with information required only for one page.
Hi,
I get SerializationException when trying to save EPiServer.Community.ImageGallery.Image to ViewState. Image has a EntityTags collection of type EntityTagCollection, inherited from FrameworkEntityBase class. Image, FrameworkEntityBase, EntityTagCollection are marked as serializable, but the only implementor of IEntityTag(used by EntityTagCollection members) - EntityTag class is not serializable.
I thought about using Session, but potentially site will have thousands of users and I don't want to load server with information required only for one page.
What can you suggest in this situation?
Thanks,
Artem.