Sunday, August 22, 2010

What If?

Wondering what if Sony comes up with see through Vaio ;).

Friday, August 06, 2010

Know Your TempData

Here is a good article detailing how TempData works. It uncovers that behind the scene TempData uses Session. Hence you are bound to get all the issue those are there with Session. For example – if you decide to disable Session in your website then TempData will not work or if you change your Session mode to State server or SQL server then you will not be able to store objects which are not serializable to TempData.

But to rescue above article also mentions how you can create your own custom TempData provider. For bonus it does it using MongoDB. Enjoy overriding ASP.Net MVC default behavior and having some exposure to MongoDB.