What Is Silverlight?

Silverlight Logo I've noticed lately that a lot of people seem to have misconceived notions of what exactly Silverlight is and does.  I will attempt to explain what Silverlight is and how it fits into the web spectrum in language that even your boss will understand.  What I won't do is try to tell you when you should or shouldn't use Silverlight or how to build specific applications using it, those are topics for other posts.

If you have built a little prototype app in Silverlight, and certainly if you have done more than that, this post is not for you.  This post is directed at those that have heard of Silverlight, think they might know what it is and would like to know if it fits their needs.  It is also a good post to read to get a good general understanding of the way web development works.

Terminology

IIS, Apache, etc.  These are web servers.  They accept the request from a client browser and return the appropriate response.

PHP, ASP.NET, PERL, JSP, Cold Fusion.  These are all server technologies.  They execute on the web server itself in response to requests from a client, typically a web browser.  They typically output HTML. 

MySQL, SQL Server.  These are the databases, they also are located on a server.  Typically the web server technology will have a method to connect to the database.

HTML, JavaScript, AJAX, Silverlight, Flash.  These are all client technologies.  They execute from the web browser itself.

SOAP, WCF, REST.  These are all types of web services.  Typically these are created on a web server to expose data and logic to outside applications.

XML, JSON.  These are data formats.

Where Silverlight Fits

As stated in the previous section, Silverlight executes in the client browser.  What does this mean? It means:

  • Silverlight applications need to be hosted on a web server
  • Silverlight does NOT need to be hosted in IIS, any web server will do
  • Silverlight does NOT need ASP.NET on the server
  • Silverlight applications cannot access databases without an intermediary (like a web service)
  • Silverlight applications cannot access server-side classes or variables without an intermediary (like a web service)

Silverlight also can run on any major browser (Internet Explorer, Firefox, Safari) on any major OS (XP SP2, Vista, OSX, Linux).

Programming Silverlight

Programming Silverlight applications can take many forms.  This is due to a number of items. 

First, the plugin contains a limited version of the .NET framework.  What this means is that you can write real, compiled and managed code that executes in the context of the client browser itself.  What it doesn't mean is that you have access to the full framework.  There are a lot of areas of the framework that are missing completely, like System.IO and others that are present but are missing features, like no ArrayList for instance.  It also doesn't mean that you can build reference an already existing class library from your Silverlight application.  You can still use class libraries but they must be compiled against the Silverlight version of the framework.

Silverlight also introduces what is known as the DLR, or Dynamic Language Runtime.  This allows you to write code in non-traditional .NET languages such as IronPython or IronRuby.

Silverlight Versions

The most current version of Silverlight that is in full release is Silverlight 1.  Silverlight 1 is very good at displaying Media (audio and video) but it's lack of controls and reliance on JavaScript as the only programming language, introduce numerous limitations.  For a first generation plugin though, it isn't bad at all.

Silverlight 2 is currently in it's second public beta and is due to be in full release this fall.  It also contains a full commercial "go live" license, which means that you are permitted to use it to build real production, money-making applications with the Beta version.  Silverlight 2 introduces the .NET framework to Silverlight along with the DLR and a rich control set.  The majority of applications being built today are using Silverlight 2.  With all of the advances in Silverlight 2 combined with the go-live license and the short timeframe until the full release, building anything in Silverlight 1 today seems wasteful to me.

Silverlight and WPF

Silverlight is a limited subset of WPF, both of which use XAML as their markup language.  This allows for several things, such as the shortening of the learning curve when moving from one to the other.  It also means that typically, if you develop an application using Silverlight, it can normally be ported to run as a WPF desktop application with minimal effort.  Moving the other direction however, from WPF to Silverlight, can be more troublesome due to the greatly increased .NET framework and control set in WPF.

Silverlight and ASP.NET

ASP.NET and Silverlight overlap in some of their capabilities, but Silverlight is not a straight replacement for ASP.NET.  Since code written for ASP.NET executes on the server it has access to the entire .NET framework, can use connection strings to access databases and can use any number of third-party or internally generated class libraries.

Even on the client, there are times when you may want to stick with ASP.NET over Silverlight.  If you have parts of your application that are nothing more than data-entry forms, the standard ASP.NET controls are very well suited to that kind of work.

Silverlight and Flash

Everyone has heard talk of Silverlight being Microsoft's "Flash Killer".  Personally, I do not think that is the intention or even goal of Microsoft when it comes to Silverlight.  I believe that they (MS) saw a way to add more interactive capabilities to web applications in a way that is friendly to .NET programmers.  I see the emerging RIA space as being plenty large enough for Flash/Flex, Silverlight and even a few others.  Yes, they both do many of the same things and yes, Flash may do some of them better currently.  But give Silverlight some time to mature and you will see much more feature parity between the two.

Silverlight and AJAX

Built into the Silverlight plugin and SDK are numerous features that perform the same functionality as that provided by AJAX, but with the need to write complex JavaScript.  Silverlight has very rich support for reading data of numerous types from web services to RSS feeds to static XML files.  It also has methods to facilitate the deserialization of XML or JSON into strongly types objects for simple manipulation and binding.

Finally

Hopefully this post has helped answer some of your questions as to what Silverlight is, what it isn't and where it fits into the web space.  If you have more questions or want to correct me on something I may have mistyped, please leave comments here or use the forums at http://silverlight.net.

#1 Oke on 4.13.2009 at 8:23 AM

i feel lucky can read this usefull news. now i find something what i want to know..

thank you for this great informations..

#2 Bisnis Online on 5.14.2009 at 2:04 AM

Information is truly extraordinary, I am very interested to read this post

#3 ricky on 5.22.2009 at 7:14 PM

So true! It's great to be able to learn from your blogs and laugh while doing so! Thanks for the tips. Hope I didn't need them!

#4 NoumanUllah Siddiqui on 5.27.2009 at 6:26 PM

This is great valuable information about Silverlight.

#5 Bayi on 6.04.2009 at 3:13 AM

Your post has brighten me to understand what Silverlight is. Thank you very much.....

#6 All About Babies on 6.04.2009 at 3:15 AM

Thank you for this useful post, I very like the way you explain about Silverlight.

#7 Custom Essay on 6.10.2009 at 1:38 AM

I see the emerging RIA space as being plenty large enough for Flash/Flex, Silverlight and even a few others.

#8 Thesis Service on 6.10.2009 at 1:40 AM

Thanks a lot for sharing such an valuable stuff.

#9 Research Paper Help on 6.10.2009 at 1:40 AM

It also has methods to facilitate the deserialization of XML or JSON into strongly types objects for simple manipulation and binding.

#10 Term Papers on 6.10.2009 at 1:41 AM

Even on the client, there are times when you may want to stick with ASP.NET over Silverlight.

#11 Dissertation on 6.10.2009 at 1:42 AM

I like this website I feel that this site could be very useful & informative.

#12 mark on 6.17.2009 at 7:09 PM

good article, thank you..

#13 Rusli Zainal Sang Visioner on 6.20.2009 at 6:53 PM

Nice post! very interesting topic. keep on posting.

#14 Stop Dreaming Start Action on 6.20.2009 at 6:53 PM

Thanks for the info. Very helpful !

#15 Sulumits Retsambew on 6.23.2009 at 7:37 AM

wow, i never knew that before, thanks for informing.

#16 Dissertation Topics on 6.24.2009 at 2:57 AM

i consider this site to be very use full specially for students, in short i like this site.

#17 Economy Dissertation on 6.24.2009 at 2:58 AM

Great Article, informative and interesting.

#18 Research Paper Rubric Tips on 6.24.2009 at 3:00 AM

Fantastic Article and Site, i like this informative site ever.

#19 Learn how to play craps games on 6.26.2009 at 7:01 AM

Unless my computer will stop working if I do not install Silverlight, then MS can go to the "hot spot". As far as I am concerned, most of their "updates" are just another form of "phone home" spyware. I do NOT trust MS as far as I "can throw them" because they do NOT trust loyal PAYING customers and insist on you "passing" a security check every time you want to update. This and other actions by MS are just going to drive people to other OS's.

#20 Rusli Zainal Sang Visioner on 7.02.2009 at 12:17 AM

Very nice silverlight

i hope its Good

#21 George Micah on 7.04.2009 at 3:13 AM

thanks for this nice info, this explanation is quit complete for me.

#22 club penguin on 7.04.2009 at 3:56 AM

Silverlight is a limited subset of WPF, both of which use XAML as their markup language. This allows for several things, such as the shortening of the learning curve when moving from one to the other.

#23 Dissertation writing help on 7.04.2009 at 5:02 AM

Very nice article, i really like the way of explaining silver light, keep it up....

#24 israel ethics on 7.10.2009 at 9:35 AM

this isnt ethic/

#25 moving on 7.10.2009 at 9:35 AM

made my day

#26 free online games on 7.11.2009 at 8:30 AM

These are the essays for the persons who need it and being a writer i could understand your information.

#27 مركز تحميل on 7.12.2009 at 9:06 AM

thanks

#28 توبيكات on 7.12.2009 at 9:06 AM

goooooood

#29 curahan pemula on 7.12.2009 at 12:00 PM

thanks for sharing

#30 blog seo on 7.12.2009 at 12:00 PM

great post. thx.

#31 latihan seo on 7.12.2009 at 12:01 PM

I'll try this tips.

#32 belajar seo on 7.12.2009 at 12:01 PM

I like your post.

#33 Kontes on 7.12.2009 at 12:02 PM

I found this article very useful. Thanks for sharing.

#34 SEP on 7.12.2009 at 12:02 PM

nice share.

#35 tiffany on 7.12.2009 at 11:37 PM

Best place to find Tiffany & Co Silver Jewelry,you can buy cheap Tiffany silver.All jewelry come with Tiffany package.

#36 rusli zainal sang visioner on 7.13.2009 at 4:59 PM

good info for me, very thanks

#37 car accident claims on 7.14.2009 at 2:04 AM

These are good objectives provided.This is probably the most common one I use as it allows for a fairly natural feel when animating scenes sliding into view.Thanks for sharing.

Regards,

#38 Great Tattoos Designs on 7.15.2009 at 1:56 PM

Great Work Keep it up

#39 sulumits retsambew on 7.21.2009 at 4:18 AM

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon.

#40 Gotomeeting Promo Code on 7.21.2009 at 3:43 PM

I like the sound of your online meeting software

#41 مركز تحميل on 7.23.2009 at 10:28 AM

goooooooooood thanks

#42 توبيكات on 7.23.2009 at 10:28 AM

goooooooooooooood

#43 Price Cheap Sale on 7.25.2009 at 11:53 PM

Good topic. Very interesting Posting. Thank for your share. Nice!!

#44 Free Glitter Graphics on 7.25.2009 at 11:54 PM

Thank man!!!

#45 Sale Handbag on 7.25.2009 at 11:56 PM

Sale Handbag

#46 جيل on 7.27.2009 at 12:40 AM

thanks

http://www.jeel5.com/vb

#47 Qaiser Javed on 7.29.2009 at 7:25 AM

Nice topic! Thanks for knowledge sharing

www.jssofttech.com

#48 Dissertation Writing on 7.31.2009 at 9:10 AM

That's nice post!

#49 IP address checker on 7.31.2009 at 9:15 AM

Interesting article thanks for sharing this site stuff with me.

#50 Free Essay on 7.31.2009 at 9:20 AM

Thanks for help, you do a great job

#51 College Papers on 7.31.2009 at 9:24 AM

Thanks for help, you do a great job

#52 Custom Essays on 7.31.2009 at 9:27 AM

It was a very nice idea! Just wanna say thank you for the information you have shared. Just continue writing this kind of post. I will be your loyal reader.Thanks

#53 moratmarit on 8.03.2009 at 5:00 AM

Thanks for share.

#54 stop dreaming start action on 8.03.2009 at 6:24 AM

Silverlight is best extention for blogengine.net cms

#55 college term papers on 8.03.2009 at 7:36 AM

Nice blog, its great article informative post, thanks for sharing it. Thanks for the information!

#56 college term papers on 8.03.2009 at 7:37 AM

Nice blog, its great article informative post, thanks for sharing it. Thanks for the information!

#57 بيتك هنا on 8.03.2009 at 11:22 AM

Good post, thanks for sharing

#58 FREE GOVERNMENT GRANTS on 8.05.2009 at 12:18 PM

what kind of site is this.

#59 FREE GOVERNMENT GRANTS on 8.05.2009 at 12:21 PM

this is good article.

#60 Ways to Make Money on 8.05.2009 at 4:16 PM

This is a really interesting story. Keep it up, my colleagues would love this.

#61 Rusli Zainal Sang Visioner on 8.06.2009 at 11:29 PM

nice share, great article, very usefull for us...thank you blog.cicurug.com/.../stop-dreaming-s

#62 توبيكات on 8.07.2009 at 10:50 PM

would love this

#63 Dating Service on 8.08.2009 at 2:11 AM

Thanks for sharing this information. I found it very informative as I have been researching a lot lately on practical matters such as you talk about...

#64 links of london on 8.09.2009 at 10:01 PM

It was a very nice idea! Just wanna say thank you for the information you have shared. Just continue writing this kind of post. I will be your loyal reader.

Thanks again.

#65 levitra brand on 8.10.2009 at 9:37 AM

I hope this technology will help microsoft

#66 steroids on 8.14.2009 at 11:29 AM

this is the sort of stories that i love about webware. they get to the point without a lot of hype. the cdn piece of silverlight is really the most interesting. a flash competitor doesn't offer me much as a developer but if there's a free cdn built in, that makes it worth looking at.

#67 توبيكات on 8.15.2009 at 10:31 PM

Thanks for sharing this information. I found it very informative as I have been researching a lot lately on practical matters

#68 Free Advertising on 8.16.2009 at 12:58 AM

It's great to be able to learn from your blogs and laugh while doing so! Thanks for the tips. I found it very informative.

#69 دليل المواقع on 8.16.2009 at 7:07 AM

Thanks for sharing this information. I found it very informative as I have been researching a lot lately on practical matters

#70 links of london on 8.17.2009 at 5:21 AM

links of london links of london links of london

#71 resume writing on 8.18.2009 at 2:25 AM

Wow Impressive!

Your blog is very informative. However, it is pretty hard task but your

post and experience serve and teach me how to handle and make it more

simple and manageable.

Thanks for the tips… Best regards.

#72 dissertation writing help on 8.18.2009 at 3:25 AM

Thanks a lot for a bunch of good tips. I look forward to reading more on the topic in the future. Keep up the good work! This blog is going to be great resource. Love reading it

#73 d on 8.18.2009 at 3:25 AM

Thanks a lot for a bunch of good tips. I look forward to reading more on the topic in the future. Keep up the good work! This blog is going to be great resource. Love reading it

#74 essay writing on 8.18.2009 at 5:34 AM

It's always nice when you can not only be informed, but also entertained! I'm sure you had fun writing this article. Excellent entry! I'm been looking for topics as interesting as this. Looking forward to your next post.

#75 UK thesis on 8.18.2009 at 6:36 AM

This is extremely helpful info!!! Especially since you guys are offering it for free!! Very good listing. Everything is true. Thanx.

#76 custom essays on 8.18.2009 at 11:09 PM

WOW, this'll keep me busy for years. I've been subscribing to your RSS feed for months, but somehow I missed this great list.

#77 speech writing on 8.19.2009 at 12:02 AM

Wonderful article, thanks for putting this together! "This is obviously one great post. Thanks for the valuable information and insights you have so provided here. Keep it up!"

#78 logo design on 8.19.2009 at 12:54 AM

The good thing about your information is that it is explicit enough for students to grasp. Thanks for your efforts in spreading academic knowledge.

#79 thesis writing on 8.19.2009 at 1:04 AM

Extremely long but very useful and informative article. How i wish i can do all of that in a short period of time. But for sure doing those will produce results. I will try to spread your words through my blog and link it back to you. Thanks a lot for those tips.

#80 thesis paper on 8.19.2009 at 5:14 AM

Wonderful article, thanks for putting this together! "This is obviously one great post. Thanks for the valuable information and insights you have so provided here. Keep it up!"

#81 Essay Writing Help on 8.19.2009 at 10:04 AM

Great and nice info for me thank you

#82 فحص البيج رانك on 8.19.2009 at 10:34 PM

thank you dear

#83 منتديات on 8.19.2009 at 10:34 PM

thanks

#84 دليل مواقع on 8.19.2009 at 10:35 PM

wooow

good

thanks

#85 Term Paper Writing on 8.19.2009 at 11:43 PM

The good thing about your information is that it is explicit enough for students to grasp. Thanks for your efforts in spreading academic knowledge.

#86 Research Paper Writing on 8.20.2009 at 2:54 AM

Well, I have been reading your blog posts daily and the reason I come on your blog frequently is its compelling content… Regards…

#87 Disertation Writing Service on 8.20.2009 at 6:01 AM

I find this information very useful. Great work! We study this article on the regular basis :-). And we recommend this to every body.

#88 buy tadalafil on 8.20.2009 at 7:41 AM

Thanks for this great post, this is very useful and interesting.

#89 College Term Papers on 8.20.2009 at 2:21 PM

I would like to thank the author for a great article. It helped me a lot.

#90 fish oil side effects on 8.20.2009 at 7:36 PM

I dont about Silverlight before. this good information. thanks

#91 شات on 8.20.2009 at 8:41 PM

I dont about Silverlight before. this good information. thanks

#92 ddesdfs on 8.21.2009 at 5:32 PM

<H1><strong><a title="شات صوتي"href="http://www.sau1di.com/">شات صوتي</a></strong></H1>

#93 rusli zainal sang visioner on 8.23.2009 at 6:26 AM

I would like to thank the author for a great article. It helped me a lot.

#94 mengembalikan jari diri bangsa on 8.23.2009 at 6:28 AM

mengembalikan jati diri bangsa

#95 www.gzon.us mencari pemilik on 8.23.2009 at 6:31 AM

www.gzon.us mencari pemilik

#96 rusli zainal sang visioner on 8.23.2009 at 6:33 AM

very good information... thanks

#97 mengembalikan jati diri bangsa on 8.23.2009 at 6:34 AM

nice information , give me info.. success 4 U bro

#98 mengembalikan jati diri bangsa on 8.23.2009 at 6:36 AM

thanks info for silverlight

#99 mengembalikan jati diri bangsa on 8.23.2009 at 6:37 AM

seo contest local indo

#100 acne removal on 8.23.2009 at 10:00 AM

nice information. thanks for sharing

#101 توبيكات on 8.23.2009 at 6:20 PM

good

#102 العاب بنات on 8.23.2009 at 6:21 PM

good

#103 خلفيات on 8.23.2009 at 6:22 PM

good

#104 small business grants on 8.24.2009 at 1:25 PM

this is great thing.

#105 stop dreaming start action on 8.25.2009 at 5:13 PM

great post. thanks.

#106 Tiffany Jewelry on 8.25.2009 at 10:04 PM

(⊙o⊙)…

#107 Tiffanys on 8.25.2009 at 10:05 PM

(∩_∩)

#108 Tiffany Co on 8.25.2009 at 10:05 PM

(╯3╰)

#109 Tiffany on 8.25.2009 at 10:05 PM

(=@__@=)哪里?

#110 Tiffany Sets on 8.25.2009 at 10:06 PM

( ⊙o⊙ )千真万确

#111 Tiffany Bangles&Bracelets on 8.25.2009 at 10:06 PM

( ˇˍˇ )

#112 Tiffany Necklaces on 8.25.2009 at 10:07 PM

Nice

#113 Tiffany Earrings on 8.25.2009 at 10:07 PM

( ˇˍˇ )

#114 Tiffany Accessories on 8.25.2009 at 10:08 PM

All right

#115 Tiffany Pendants on 8.25.2009 at 10:08 PM

Nice ,good post

#116 Tiffany Charms on 8.25.2009 at 10:09 PM

good man

#117 links of london on 8.25.2009 at 10:53 PM

Thanks for your information!