Well its now a couple of days after XMAS here, so it’s back to work for us. Now for those that know me, I normally write about WPF and related technologies. I like WPF, but it has been a while since I played with its smaller brother Silverlight. I think the last time I played with Silverlight was way back in 2007, where I wrote this article (good in its day I suppose):
So I thought it was about time that I had a look at why Silverlight was getting so much Microsoft press and community attention lately, the futures Silverlight and all that. I say the future is doing cool work, and that is whatever technology that happens to be. But whatever.
This article was started off as a small part of a larger SL4 application that I am making to understand and play with RIA Services, but it kinda of morphed a bit, and has now taken on a life all of its own. Well actually it is kind of 2 sentient beings now :
Sentient Being 1 : A mini Silverlight class library that aids in MVVM development
The mini Silverlight library that came out of this investigation boasts the following features :
- Commanding
- Messaging
- Services
- Threading Helpers
Sentient Being 2 : What I was supposed to be doing all along, which was playing with the new SL4 bits. To do this I have created a SL4 uploader that can upload a file to a folder on the webserver, and will optionally show a SL3/4 ChildWindow of the uploaded file if it is an image file.
This is what it looks like after it has uploaded and image file
I hope that this demo application and the Silverlight MVVM library contained with it are useful to many of you.
Here is a link to the article:
http://www.codeproject.com/KB/silverlight/SL4FileUploadAnd_SL4_MVVM.aspx
Enjoy