Load Balancing using SQL Server and TempData MVC
Posted
by Jamie
on Stack Overflow
See other posts from Stack Overflow
or by Jamie
Published on 2010-05-27T15:27:36Z
Indexed on
2010/05/27
15:31 UTC
Read the original article
Hit count: 601
tempdata
Hi all,
I've been told that MVC 1.0 TempData does not work under a load balancer when using SQL Server and that it is because the Dictionary itself is not serializable.
We require this for a project and are looking to be able load balancer effectively.
So I would be very grateful if someone could answer the following questions: Is there away around this so you can make it work? Is this fixed in MVC 2.0? Can we create a ITempDataProvider to fix it? Or has anyone made a fix to the source code for a project of their own they would like to share?
Cheers, Jamie
© Stack Overflow or respective owner