C
C#2y ago
oe

ASP.NET TempData alternative for my use case?

I am serializing 40kb of data (list of objects), storing it on TempData, and then deserializing it on another view/controller. When I do so, the page freezes completely and it doesn't matter how long I wait, I can't access my data on the next page. However, if I transfer less objects inside that list (2) compared to 16, it seems to work flawlessly and very quickly. Can TempData not store a lot of data or am I missing some sort of timeout option for bigger stores of data?
2 Replies
oe
oe2y ago
Got my own answer here, my bad 😄 Any alternatives that don't require DB for now?
Timtier
Timtier2y ago
Possible a MemoryCache on the server side? Unless you have some reason it has to remain in cookies
Want results from more Discord servers?
Add your server
More Posts