The length of the string exceeds the value set on the maxJsonLength property.

With ASP.NET MVC 3, you may encounter this problem as part of sending a large JSON response. Setting the maxJsonLength via the Web.config will have no effect with JsonResult. Here is an easy way to fix this. var serializer = new JavaScriptSerializer { MaxJsonLength = Int32.MaxValue}; return new ContentResult() { Content…

My first game - Pong

The first game I made from scatch is Pong. I decided to use Html5 and javascript to do it. No external libraries yet, no framework. The real challenge really was the collision detection, and drawing to the canvas. Live Demo Github Repository Any suggestions, code reviews, etc, are welcome.…

Start of a dream

I recently started to learn how to program games. I always had that dream, that I would do that but never really took the time to explore that possibility.…