My first Silverlight Web application
The more I do with Microsoft technologies the hard it becomes for me to want to move outside of them. With the .NET Framework and Visual Studio 2010, which is the best development tool I think I've ever used, it's easy to get sucked in.
Since I've wanted to experiment with it for a while, and since I needed to do some kind of development after slacking off this weekend, I looked into creating a simple Silverlight application that would use the same Web service I created late last month.
I haven't hooked it up to any pages within the site yet, since it still needs some styling work, but ... here's a Silverlight application using my MusicService project. Note this requires Silverlight 4.0.
At this time it only works with one of the methods, and the output is a little clunky, but when I have time this week over lunch, or over the weekend, I'll try to clean it up.
This was a nice little exercise, involving a purely test project/solution to figure out how to make it work, and then adding a new project to my ASP.NET MVC 2.0 project that is the Web site. A cross domain policy file had to be added to the services site so that Silverlight could access it (otherwise it was erroring but seemingly without a message).
That's about two hours of work, and outside of about 15 minutes wasted because of some stupidity on my part (I'll blame the small amount of real-estate on my laptop monitor), it went fairly smoothly.
Support This Site
If my blog was helpful to you, then please consider visiting my Amazon Wishlist.