Silverlight 4 examples with PDC Keynote

Original author: Scott Gu
  • Transfer
Last month I spoke at a PDC conference and talked about Silverlight 4. You can watch a video from that conference (my part of the speech starts at 53:30).

I showed some fun examples that were implemented thanks to innovations in Silverlight 4. Today we publish examples with code so that you can download and run them on your machines.

PhotoBooth

The PhotoBooth app demonstrates some of the things you can do with the new webcam and microphone support. This allows you to record video and take pictures right in your browser, and then apply effects to them:

image

BarCode scanner

BarCode Scanner also uses a webcam. Allows you to scan ISBN barcodes from a book and use the Amazon web service to view the details of the book:

image

Improved notepad

This application shows some innovations for working with text in Silverlight 4. It allows you to edit text in a browser, supports Bidi text, including Arabic and Hebrew, supports left and right orientation of elements (pay attention to the scroll bar), supports soft copy / paste to the system buffer, own context menus, printing, drag / drop files from desktop applications to the browser for editing:

image

HTML placement

This application uses a new control - a web browser, when working outside the browser. It allows you to place HTML as a brush that you can apply to any control. For fun, you can go to the MSDN.com bookmark and go back to YouTube. And after that, you can still use HTML as a brush and cut it, despite the fact that the video continues to play (using Flash in HTML):

image

More Details

Follow the blog Tim Heuer and John Papa , they regularly write about Silverlight and soon there will be several articles about other new features in Silverlight 4.

Also popular now: