Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Learning More   (RSS)
I’ve been working with the interns in our Microsoft Innovation Center (Singapore) on some cool Windows Mobile demos.  One of the biggies we encounter is how aggressive Windows Mobile manages power.  Not a bad thing for end users wanting to use...(read more)

I did a session last Wednesday (9 Apr) -- introducing our Rich Internet Application technology Silverlight to our MSDN subscribers.

In the session, we re-acquainted with Silverlight 1.0 and its AJAX-like programming model, but dedicated most of the time to introduce Silverlight and the new .NET development paradigm.

Comic Viewer SampleI've put the slides from the presentation, as well as the comics-book viewer sample project used for the code walk-through on my SkyDrive and you can find them here.

 

The sample code demonstrates Silverlight 2 controls (particularly Layout), control data-binding, asynchronous data fetching and LINQ. Much of the work was based off samples by Joe Stegman and Scott Guthrie

Miguel de Icaza and Dragos Manolescu: On Open Source, Mono and Moonlight This is one of my favorite video interviews coming out from Channel 9 this year. In this post, Channel 9's intrepid reporter Charles Torre interviews Miguel de Icaza and Dragos Manlescu.

Miguel de Icaza is, of course, the famed free-software developer who started the open-sourced Mono project which implements C# and other .NET tools on non-Microsoft platforms such as Linux, BSD, Solaris, etc.  Miguel is also leading the Moonlight project that puts Silverlight on Linux.

Dragos Manolescu is a computer scientist on the Microsoft team. Formerly an architect with the Patterns and Practices group, and is now part of the Live Labs team who released innovative technologies such as Volta, etc.

Together in the video, the three gentlemen had a enlightening conversation about open source, the Mono and Moonlight projects, the tensions between business and free software ideals, and perceptions about Microsoft as a company.

Great video worth watching!

imageA Customer who asked if a quiz-type application can be enabled by Silverlight. 

The answer is yes (obviously smile_regular) and I had to put my rusty coding skills to work over a good part of a Saturday afternoon.

The result is a Silverlight 1.0 proof-of-concept application, which meant adopting an "AJAX-styled" coding model with JavaScript. In fact, just for the heck of it, I wanted to go the full client-only approach which meant no ASP.NET AJAX server-side controls, etc.

The code demos a couple of simple features:

  • Quiz questions are easily configurable with a XML data file. The Silverlight application accesses the quiz as JSON data with a simple web service. This was simply achieved by first converting the XML data to JSON format at the server-side with XmltoJSON C# code (made available at http://www.phdcc.com/xml2json.htm). To allow the web service to be accessible (invoke-able) by the client JavaScript, I also marking the web service with the System.Web.Script.Services.ScriptService attribute. 
  • An auto timeout (set to 10 seconds) is set for each quiz, this is done with a XAML animation storyboard to mimic a timer. Jesse Liberty details this useful technique in his blog here.
  • At the client end, I dabbled a little with the JavaScript Prototype library to demonstrate interaction between the Silverlight application and the host browser's DOM.

The application can definitely do with polishing (e.g., with some creative design work, one can imagine fireworks animation when the user gets a correct answer,) but this should serve as a nice simple base for extensions, tearing apart, etc. 

Links:

  • The source code is available for download at my SkyDrive here.
  • The application can also be viewed online here

On 30th January, we did the first of a planned series of web-related technology talk events -- this time focusing on Web User Experience (UX). I'd like to thank everyone who attended and stayed back late (we overran by 45 minutes!)  I think we had a lively time.

Building the PlayHellgate London Silverlight site

We covered the following in the 3 hour presentation session:

  1. An overview of the spectrum of Microsoft's user experience technologies. This spans from the ubiquitous web-based (such as ASP.NET AJAX) to rich user interfaces leveraging platform capabilities (such as Windows Presentation Foundation, Windows Mobile), and finally to the new class of Rich Internet Applications (enabled by Silverlight.) We also showed (or, in a specific instance, attempted to show smile_regular) real-life applications deployed by customers / partners using these technologies.
  2. Jocelyn (our ISV Developer Evangelist) then did a code-talk / demo session on ASP.NET AJAX. Be sure to check out the ASP.NET AJAX Control Toolkit -- you saw how easy it was to add interactivity to ASP.NET web applications!
  3. We had Yong Hwee from patroids creative works who shared first-hand experience on developing their first project on Silverlight.
  4. I then did a code demo on how we actually developed a real-world Silverlight 1.0 application using Visual Studio and JavaScript. Of course, you can also build video-rich application in 7 steps, and no code with Expression Media Encoder.

My presentation decks for the session can be found on my SkyDrive. You can find Jocelyn's presentation deck (Overview of ASP.NET AJAX) here.

I have also uploaded my two slide decks, which can be accessed from the links below:

(I will be sharing the Silverlight demo code as I clean it up for public consumption, so do check back this blog again in a week or so...)

 

Prelude:

Do keep a look out for the next event entitled "Building Web 2.0 Mash-ups" -- where we will talk and demo building Facebook applications with Visual Studio, creating mash-ups with Windows Live Services, and introduce cool technologies like PopFly, etc.  

This scheduled for the evening of 12 March 2008 -- keep it free!

Another free MSDN TechTalk Day is just around the corner. Like all our previous TechTalks... we have it jam packed with ooie-gooie technology goodness. We kick off the day with an hours plus of back to back demos ranging from the practical stuff to absolutely...(read more)
Come join us this 12th (Tues) February 2008 where Microsoft MVP Wei-Meng Lee will present two sessions on what is new in Visual Studio 2008 and Windows Mobile development. Session 1 - What is new in Visual Studio 2008 If you have always wanted to learn...(read more)
Wow! Considering I work at Microsoft, there are tons of things that happens here that I don't know about and I get WOW-ed by. Check this out on MSDN... we've got development and security experts making 20 min videos on developer security topics. This...(read more)
Singapore SQL User Group is hosting a session with Tom Casey (he's the General Manager for the SQL Server Business Intelligence group over at Redmond) and you're invited! Here is the user group's invite. SQL Server 2008 Business Intelligence platform...(read more)

Microsoft Singapore New Year greeting card Counting down with Silverlight - http://www.office2007quiz.com.sg/greetings/.  Check back again in a couple of days smile_party.  

(Can't wait for the new year to arrive earlier?  Here's the preview.)

More updates in 2 day's time.

My apologies for the delay in getting the event slides up. All this holiday cheer got to be early and I've been plowing through my emails plus a secret "pet project" (more information to come shortly). Again, it was great to see everyone at the event....(read more)

Came across this very nice article by Justin-Josef Angel on the Code Project web site -- Silverlight Controls - The Path to Reusable XAML.

I've been working on a few Silverlight 1.0 projects recently, and a consistent struggle on these has been to maintain data-presentation separation, as well as to adhere to object-oriented principles when dealing with JavaScript and XAML.

This article provides the clearest, most prescriptive guidance I've seen to-date on the use of the JavaScript Prototype pattern to support as "code-behind" for XAML-defined user-interface elements. 

JellyBar - One Object Many Instances

Justin-Angel does a code walk-through that refactors Richard Z's JellyBar sample (which emits XAML dynamically in code with JavaScript) into a "One JavaScript class - One XAML file" model. The result, as the author says, is "it's extensible, it's maintainable, it's object oriented."

Also check out the cool trick with with Visual Studio 2008 JavaScript comments syntax in building the "class constructor" function!

To all who celebrate, Merry Christmas! smile_regular

Technorati Tags: ,

image

For all our partners building mobile solutions, we've just launched a site to help enable our partners. Check out the new site at INNOVATE ON Windows Mobile

0 Comments
Filed under:

For those of you who can't wait to get started on getting up to speed on Visual Studio 2008, here's a VPC that contains the VS 2008 Training Kit that you can use to skill up.

Download details: Visual Studio 2008 Rhythm Training Virtual PC (Vista)

1 Comments
Filed under:
I've got an app using features of .NET 3.5. I'm using Visual Studio 2008 Beta 2 and deploying to Windows Server 2008 RC0. As you can tell... this post will be very dated as all the stuff I'm using are pre-release. So if you read this and we've gone RTM......(read more)
0 Comments
Filed under:
More Posts Next page »
 
Page view tracker