Martin has an interesting post on the technique he uses in his Silverlight chess board to generate HTML from a Silverlight application.
The idea is quite interesting because he uses Silverlight for what it’s strong (vector graphics here) and HTML for the rest (text and hyperlinks). The generated HTML is the list of moves. Click events over this list triggers back code in Silverlight.
One consequence of this technique is that the list is very easy to style and bring in harmony with the rest of the site using regular CSS even if you have no knowledge of Silverlight. It makes for nice and easy integration of the board in a blog or any application.
Jeff King just announced the release of a patch for Visual Studio 2008 that enables the IDE to find the –vsdoc.js file without requiring the developer to reference it.
To give some context, a documentation file (basically the same file as the runtime script but with XML documentation annotations) can be provided to help Visual Studio provide IntelliSense. Until now, you had to reference that extra file explicitly, usually within a server-side <% if %> block so that the file never gets included at runtime.
Now that this patch shipped, this is no longer necessary and Visual Studio is going to be able to find the –vsdoc.js file for any script file that is referenced, whether that is through a ScriptManager ScriptReference:
or using a plain script tag:
or even a reference XML tag:
That makes jQuery IntelliSense as easy as dropping the –vsdoc.js file in the web site next to the main jQuery file (other libraries can easily take advantage of that too of course):
The patch can be found here:
The IntelliSense file for jQuery can be downloaded from the jQuery servers (look for the “documentation: Visual Studio” file):
Jeff’s other post on using the documentation file:
The format for XML doc comments:
Jim Wang (one of the great QA people on the Ajax team) just started a blog, and his first post is a very detailed walk through building a data-driven application from scratch using ADO.NET Data Services and the new client templates in ASP.NET Ajax 4.0.
The full 83 minutes of my PDC talk are available on the Channel 9 web site. You can watch the session online (using Silverlight) or download the video in a number of formats. Slides and source code for the demo are also available.
Download MP4 / iPod, Zune, WMV or WMV-HQ.
Another talk you may be interested in is Stephen Walther's. Stephen did an amazing job explaining how jQuery and ASP.NET Ajax work and fit together. The talk is very accessible even if you have no prior knowledge of jQuery: http://channel9.msdn.com/pdc2008/PC31/.