Build Modern Web Applications with HTML5, CSS3 and JavaScript Session Slide Deck and Demos

October 31, 2011

Build Modern Web Applications with HTML5, CSS3 and JavaScript Session Slide Deck and Demos Today I delivered a MSDN session at Microsoft HQ about “Build Modern Web Applications with HTML5, CSS3 and JavaScript” and in particular HTML5. I want to thank all the attendees which came to hear about the transition that the web eco-system is going through. The session agenda was as follows: What is HTML5? The New Elements Migration to HTML5 HTML5 APIs (Canvas, Web Storage, Geolocation and Web Workers) The...
no comments

Adding Video Element on the Fly and Drawing it to a Canvas Element

October 28, 2011

Adding Video Element on the Fly and Drawing it to a Canvas Element One of the requirements in a project that I work on lately is to create on the fly video elements and to show them inside a canvas element. This post will show you how you can do it. Adding Video Element on the Fly The HTML5 Video element is a DOM element. As any other DOM element you can create it using the document.createElement function and then to supply its relevant properties. After the creation of the element you will have to append...
no comments

HTML5 and Government Organizations Session Slide Deck

October 26, 2011

HTML5 and Government Organizations Session Slide Deck Yesterday I had the pleasure of delivering a session in the HTML5Fest conference. The session subject was about HTML5 and government organizations. I want to thank all the attendees who came to hear me. The topics that I talked about included: What is HTML5? Government Organizations Main Challenges HTML5 and Government Organizations If you are interested in the session slide deck you can download it from here. CodeProject
no comments

Quick Tip – Converting JSON Serialized .NET DateTime to JavaScript Date

October 17, 2011

Quick Tip – Converting JSON Serialized .NET DateTime to JavaScript Date When you are using the controller JSON method in ASP.NET MVC or scriptable WCF services you sometimes have to serialize a .NET DateTime property. The DataContractJsonSerializer will serialize it into the following format: /Date(1235398665390)/ This format indicate to the client side parsers that the data fragment that was sent is a date representation. But how can you convert it to...
one comment

Avoiding Circular Reference for Entity in JSON Serialization

Avoiding Circular Reference for Entity in JSON Serialization One problem that I was facing yesterday while working on an ASP.NET MVC application was a JSON serialization issue. The problem was a circular reference caused by the DataContractJsonSerializer because of relations between the entity and other entities. In this post I’ll show you how you can use a simple workaround in order to avoid the problem.    The JSON Serialization Error Returning the output of the JSON method in an ASP.NET MVC controller with a JSON object graph based on an Entity Framework Code First object causes...

Update Your Windows Phone 7 to Mango Release Today

October 5, 2011

Update Your Windows Phone 7 to Mango Release Today Two days ago I updated my Windows Phone 7 (HTC HD7 device) to the Windows Phone 7.5 (Mango) even though the update didn’t arrive to my device from my device carrier. If you ask yourself how I did it, the answer is simple. I used a hack. You can read about this hack in this PC magazine article – How to Force Your Phone to Upgrade to Windows Phone Mango. Pay attention that it might take a few tries up until this hack will succeed to operate...
no comments

Third Year in a Row

October 2, 2011

Third Year in a Row Yesterday I received the mail from Microsoft that congratulate me for being a Microsoft MVP for the third time. It’s is a honor for me to get the award three years in a row. This time the receiving of the mail was somewhat weird since I saw on Twitter that people got the mail  and I didn’t get it… Apparently, my Gmail mail account (which is my personal mail account) “thought” that the congratulation mail is spam and moved it into the spam directory. This of course shows the true relationship between Google and Microsoft...
no comments