Friday, July 11, 2008

What Is Silverlight?

image002_low 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.

108 comments:

Matt Blodgett said...

Great post!

Unknown said...

Thanks, your post help me much.

Unknown said...

Thanks...your post is really helpful

Nishanth Nair said...

Nice article. very useful!!

Aidan said...

Great post, was sitting here contemplating on whether to invest my time in learning Silverlight for a new web application, but since 75% is probably data entry I think I will stick with ASP.Net

Thanks

shashi said...

thank you..very much..your post is very informative..

Anant said...

Had explored Silverlight a bit and was not able to find out anything that could tell me how to attempt data entry using Silverlight.

I am thankful to you for briefing out what Silverlight is not capable of. My search ends here :)

Unknown said...

It seems like Silverlight is basically the .NET version of a Java applet. Is that a fair statement?

Unknown said...

gr8 ... !!!

Unknown said...

I've been using Silverlight for 9 months and that is the best summary I have read to date!

Power to your mouse!

I have quoted you in my MA thesis, hope you don't mind. :)

Regards,
Richard
www.electricscribes.com

Moumita said...

your definition for SOAP is wrong. SOAP is a protocol not a webservice. Over-simplification sometimes kills the essence.

Unknown said...

excellent post
Thanks

Anonymous said...

Its highly informative. I would be visiting your blog hereafter regularly to gather valuable information.

Freelance Web

Anonymous said...

thanks for this great post.it helps me alot. thanks.

Unknown said...

I really loved read this blog. It has lot of information’s to the public. Thanks for sharing this information in internet.

Web Design Company Chennai

Unknown said...

Great post and very well written, that will really help you to learn Web Design, web development and SEO Strategies to help businesses web design company . You can find out many useful information about web design, seo and his work by visiting his blog and I Just wanna say thanks you for the information you have shared. Web Design Company India

Web Design Services said...

Your post is simply amazing by web design Company.

cheapcallstophone said...

Great Post.Thanks for sharing.
Web Design Company India

Unknown said...

Excellent post. So simple and yet so detailed. MUCH better than much of the other explanations out there.

Sameer said...

silver light is really good for developers...web designing company noida

Sameer said...

nice posting...gate coaching|ies coaching|psu coaching

cheapcallstophone said...

That's really very good read about Silverlight thanks for sharing keep posting.
SEO UK

Unknown said...

Really looking forward to the next few days when people start properly aggregating this information.Will be interesting to see if what Google reports seem to match the studies we have done on the basis of your experiments for our Seo Company India website

seouk1 said...
This comment has been removed by the author.
Unknown said...

Great thoughts you got there, believe I may possibly try just some of it throughout my daily life.

SEO Company Chennai

Unknown said...

I am amazed to see such an amazing post. Keep up the good work.
--------------------------------
badge reels

Steave said...

Thanks for taking this opportunity to discuss this, I feel fervently about this and I like learning about this subject.
-------------------------------
Sarrell Dental Center

SEO Services Consultants said...

Interesting layout on your blog. I really enjoyed reading it and also I will be back to read more in the future.strumpfhosen

Harry Seo said...

ESG Appliance is an appliance repair and service company operating in the Los Angeles and Orange counties and providing Installation, Service and Maintenance for appliances like Ice Maker, Microwave Oven, Washer Dryer.Washer Dryer

Anonymous said...

This is a good common sense article. Very helpful to one who is just finding the resources about this part. It will certainly help educate me.Web Design

SEO Services Consultants said...

I can see that you’re an expert in this region. I am starting an internet site soon, and your information will be very helpful for me.. Thank you for all of your help and wishing you all the success inside your business.
CCIE Rack Rental

SEO Services Consultants said...

Used Cisco ResellerHi, interesting post. I have been wondering about this topic, so thanks for posting. I’ll definitely be subscribing to your site. Keep up the good posts

Anonymous said...

this is really interesting post but question about silverlight. What is the benefit of using it? Sorry I kind of idiot about app.


Thank
Regards
Poh
Cuisinart TOB-195
Acne Conglobata
Acer 11.6 Netbook
500 payday loan
acne inversa
VIZIO M261VP
checkmate payday loans

GUNASEKAR said...

I am really very much thankful to you. I like all your post. I am looking forward to you.

YOU POST HELPFUL FOR MY SERVICE

Thanks & Regards
R.Gunasekar

Web Development | Software Development said...

Web Design Missouri

Unknown said...

Wow, Fantastic article, it’s so helpful to me, and your blog is very good,
I’ve learned a lot from your blog here, Keep on going, my friend, I will keep an eye on it,
Acne Chicago

SEO Services Consultants said...

Wow, Fantastic article, it’s so helpful to me, and your blog is very good,
I’ve learned a lot from your blog here, Keep on going, my friend, I will keep an eye on it,


virtual assistant

SEO Services Consultants said...

Man I like your post and it is so good and I am definetly going to save it. One thing to say the Indepth analysis this article has is trully remarkable.No one goes that extra mile these days? Bravo!! Just one more tip you canget a Translator for your Worldwide Audience !!!
Price trades

SEO Services Consultants said...
This comment has been removed by the author.
SEO Services Consultants said...

Awesome 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.
Deep Cycle Battery

SEO Services Consultants said...

thank you..very much..your post is very informative..
Fort Lauderdale criminal lawyer

Unknown said...

Simply want to say your article is as surprising. The clearness in your post is simply great and i can assume you are an expert on this subject. Fine with your permission let me to grab your RSS feed to keep up to date with forthcoming post. Thanks a million and please continue the rewarding work.SEO Services

Essential Oils said...

Thanks for ones marvelous posting! I seriously enjoyed reading it, you're a great author.I will be sure to bookmark your blog and definitely will come back in the foreseeable future. I want to encourage you continue your great job, have a nice day!
Where to Buy Essential Oils

sjflksd said...

G&G provides the best value in reliable, cost-effective, and quality custom software development.application development

Arun said...

thanks for sharing useful informations Web Design Company Chennai

Steave Brooke said...

There are certainly a lot of details like that to take into consideration. That is a great point to bring up. I offer the thoughts above as general inspiration but clearly there are questions like the one you bring up where the most important thing will be working in honest good faith.
SEO services London

Anonymous said...

Thats really helpful.Thanks a lot for ur useful and interesting post.
web design company

Sunitha M said...

Pretty nice post. I just stumbled upon your weblog and wanted to say that I've really enjoyed browsing your blog posts. joomla development | joomla developers

Anonymous said...

nice post helful post,ink for printer cartridges

wyntech solutions said...

Man I like your post and it is so good and I am definitely going to save it. One thing to say the In-depth analysis this article has is truly remarkable. No one goes that extra mile these days? Bravo!! Just one more tip you can get a Translator for your Worldwide Audience !!!
Vancouver Internet Marketing

Anonymous said...

What a wonderful article? but I am not that much familiar with share market information. Now only I have read to gather some knowledge. Thanks for sharing. Buy domains

ecobedding said...

Internet Marketing Bristol

Murthy said...

good information post

freelance web designer hyderabad

Anonymous said...

Great article..really very helpful and useful.
web designing company

Jessica B Johnson said...

Before read your your i was unaware about silverlight's technicalities and important points. Now i have great knowledge regarding silverlight due to your shared post.

web development services
business logo design

Maxdence said...

I extol the valuable post you offer in your articles. I will bookmark your site and have my family check up here regularly. I am rather sure they will study lots of new stuff here than anybody else!
Flights to New York

Unknown said...

Hello! I just would like to give a huge thumbs up for the great info you have here on this post. I will be coming back to your blog for more soon.
Marisa Miller workout

Unknown said...

It has lot of information’s to the public. Thanks for sharing this information in internet.
Professional SEO

kyaminy06 said...

I can't wait to read far more from you. This is actually a tremendous web site.
cool gift ideas

amelia said...

I had a great time reading your article and I found it interesting. This is such a beautiful topic that me and my friends are talking about. Thanks for this blog, we are enlightened.
Free classified Ads Pakistan - Web Development

devindennis said...

Excellent read, I just passed this onto a colleague who was doing a little research on this topic.
Advertising agencies in Lahore

devindennis said...

Usually I do not post comments on blogs, but I would like to say that this blog really forced me to do so! Thanks, for a really nice read...
Breast Augmentation Dubai

devindennis said...

This is a very helpful post; i hope this really helps me to complete my project.

Advertising agencies in Pakistan

devindennis said...

Want to thank you for interesting content dude. Keep writing...
2d Animation in Pakistan

devindennis said...

Brilliant blog posting. I begin your column actual interesting; I anticipate you are a ablaze writer. I added your blog to my bookmarks and will acknowledgment in the future...
Advertising

GIrin said...
This comment has been removed by the author.
blaircraig said...

That is some alarming and advantageous advice appropriate there. I cannot delay until the little humans go to beddy-bye so that I can apply and plan some of this being out.Thanks!
Digital advertising agencies

blaircraig said...

This column reminds me of a continued time ago if in academy we acclimated to accept a accountable (with able lectures - although I don’t bethink about the exams: P) alleged "handwriting improvement". It sounds absolutely a funny but accessible advance now :)
Website designing

blaircraig said...

Very cogent commodity for us, I anticipate the representation of this commodity is in fact superb one. This is my aboriginal appointment to your site...
Website development

Unknown said...

This article is very nice i like it this is paragraph is so nice its very informative.
Advertising agencies in Karachi | Advertising agencies in Islamabad | Advertising

Website development bangalore said...

Well said, I can certainly not concur additional along with you on this concern. I'm sure your own web log is incredibly popular on this topic just by the rest of the remarks placed with it.
Web Design Company

Unknown said...

I read a lot of blogs in 8 hours in a day I like overbearing and fantastic blogs.
Advertising agencies in Karachi | Advertising companies in Pakistan | Media buying houses | Media buying houses in Pakistan

Unknown said...

Looking for Web Designing Company in Chennai! Elicit Designz Solutions is one of the leading top Website developers in Chennai,india.we offer services as web development, Internet marketing, etc

Unknown said...

Your blog is great for anyone who wants to understand this subject more. This is one of the most incredible blog. I enjoy reading this blog. Great stuff; please keep it up!
Advertising agencies | Advertising agencies in Pakistan | Advertising agencies in Karachi

Unknown said...

It will be very constructive in regular part of life. I hooked up with your precious work here it’s driving me crazy. I am hoping the same best work from you in the future as well.
airport pickup w2 | heathrow to w2 | southend to w2

devindennis said...

That was an interesting piece of information on handwriting analysis. Please post more about this interesting topic. Thank you!
Cheap office furniture | Best office furniture | Customized office furniture

Unknown said...

This post actually revealed quite a bit more information than I was hoping to find. I'm really glad I discovered this site for that reason.
Pakistani matrimonial sites |Pakistan marriage | Pakistani Shadi

Anonymous said...

this post has been described fairly well ...GATE coaching

Anonymous said...

I cannot delay until the little humans go to beddy-bye so that I can apply and plan some of this being out.

Computer Enclosures

Unknown said...

they rich contents and data accurately.they are help to me.I expect Bridal saree

Anonymous said...

Hey thanks for sharing guideline about Sliverlight.
Professional Website Developer in Bangalore | Ecommerce Website Development in Bangalore

Unknown said...

I always liked your posts because every post has something for me to learn.
website development services bangalore
Android Development Companies in Bangalore

Learn Chinese language on hanbridgemandarin said...

I'm learning mandarin because I believe it's the only way to really learn about China.When I was searching for a place to learning to speak Chinese, I called several schools. Hanbridge was the best because they had excellent teachers and a very friendly and welcoming spirit . I really appreciate the opportunity to learn here and would recommend Hanbridge to others.



Unknown said...

Thanks for your effort for make this post.keep it up.Most useful information about IT learners gate coaching classes in Bangalore
gate coaching in Bangalore for mechanical engineering
gate coaching in Bangalore for computer science
gate training institutes in Bangalore
gate coaching for electronics & communication in bangalore
gate coaching for chemical engineering in bangalore
gate coaching for aerospace engineering in bangalore
ibps exam coaching classes in Bangalore

Unknown said...

Good Article
Web Application Development Company

Unknown said...

This is an incredible rousing article.I am essentially satisfied with your great work.You put truly supportive data. Keep it up. SMS Marketing Solutions


Anonymous said...

Flash may do some of them better currently, but it seems silverlight will be at top one day. Bangalore Web Development Company

Ancy merina said...
This comment has been removed by the author.
Vistas AD Media said...

Really a great post. Appreciate the effort in educating us.
We Are also providing Web Designers in Bangalore | Website Developers in Bangalore include ideas generation to engage & interact online

Unknown said...

Hi,

Thanks for sharing a very interesting article about What Is Silverlight? This is very useful information for online blog review readers. Keep it up such a nice posting like this.

Regards,
WondersMind,
Web Design Company Bangalore

Chiến SEOCAM said...

Agian hau irakurri dudan artikulu ona da. Eskerrik asko partekatzeagatik

Giảo cổ lam hòa bình

hat methi

hạt methi

hạt methi ấn độ

Maketting SEO said...

Có lẽ cần phải trải qua tuổi thanh xuân mới có thể hiểu được( cách dạy bé học toán lớp 4 tuổi ) tuổi xuân là khoảng thời gian ta( dạy trẻ học toán tư duy ) sống ích kỷ biết chừng nào. Có lúc nghĩ, sở dĩ tình yêu cần phải đi một vòng tròn lớn như vậy, phải trả một cái giá quá đắt như thế,( phương pháp dạy toán cho trẻ mầm non ) là bởi vì nó đến không đúng thời điểm. Khi có được( Toán mầm non ) tình yêu, chúng ta thiếu đi trí tuệ. Đợi đến khi( Bé học đếm số ) có đủ trí tuệ, chúng ta đã không còn sức lực để yêu một tình yêu thuần khiết nữa.

Merry said...

Click for more
Click for more
Click for more
Click for more
Click for more
Click for more
Click for more

Ram Niwas said...
This comment has been removed by the author.
Digitalnock said...

Thanks for sharing such a wonderful article about technology. it is very useful for us.. Our services are Website Design and Development Company in Bangalore, Digital Marketing Agency in Bangalore, Seo Services in Bangalore, Top Seo Services in bangalore - DigitalNock It Solutions

Digital Infinizy said...

Really a great post. I appreciate the effort in educating us. We Are also providing Digital Infinizy

Best Website Design and Development Services Companies in Bangalore

Top SEO Services Agencies in Bangalore

Best Digital Marketing Services Companies in Bangalore

Ram Niwas said...

Your article is very interesting. Thanks for sharing. Also visit our website at:
Web Design Company in Delhi

Archna said...

Really Great Post & Thanks for sharing.

Oflox Is The Best Website Design Company In Dehradun or Digital Marketing Company In Dehradun

Saqib Mirza said...

Hey, are you looking for a top Video Content Agency in Belgium, Uk, and France? So check once Duckmotion.be

mutantgearpharma said...

I really happy found this website eventually. Really informative I am Sharing a website where you can get the latest anavar

mutantgearpharma said...

I really happy found this website eventually. Really informative I am Sharing a website where you can get the latest winstrol

mutantgearpharma said...

I really happy found this website eventually. Really informative I am Sharing a website where you can get the latest click here

Saqib Mirza said...

Are you looking for an Cheap Digital Marketing Agency in USA? Just Visit us

mani said...

I really appreciate your articles im a daily reader of your articles i love your informative tips and paragraph which are rich of useful knowledge thanks for sharing
Here are the best Mobile App Development Companies In Bangalore|
|Android App Development Company Bangalore|
|UX Design Companies In Bangalore|
|Best Mobile App DevelopmentCompanies In Bangalore
|UI UX Design Companies In Bangalore |

Village Talkies said...

Informative blog! it was very useful for me.Thanks for sharing. Do share more ideas regularly.
Village Talkies a top-quality professional corporate video production company in Bangalore and also best explainer video company in Bangalore & animation video makers in Bangalore, Chennai, India & Maryland, Baltimore, USA provides Corporate & Brand films, Promotional, Marketing videos & Training videos, Product demo videos, Employee videos, Product video explainers, eLearning videos, 2d Animation, 3d Animation, Motion Graphics, Whiteboard Explainer videos Client Testimonial Videos, Video Presentation and more for all start-ups, industries, and corporate companies. From scripting to corporate video production services, explainer & 3d, 2d animation video production , our solutions are customized to your budget, timeline, and to meet the company goals and objectives.
As a best video production company in Bangalore, we produce quality and creative videos to our clients.

Acadeos said...

Skype Math Tutor US

Virtual Learning In US

Get It SMS said...

My brother recommended, I might like this web site. He was totally right. This put up actually made my day. You can not believe just how much time I had spent for this information! Thank you for sharing I believe a lot of people will be surprised to read this article. This article provides light by which we can notice the reality. This really is very nice one and allows advanced information. Get It SMS is a India No 1 bulk SMS Service provider. We are giving special offer in bulk SMS service. Our Services are Voice SMS, promotional bulk SMS, transactional SMS, miss call service, bulk e-mailing, transactional bulk SMS, Missed call alert Whatsapp SMS and website Design. Sign Up for a free trial!

Aatif Anjum said...

Global Clientele: Many 3D Rendering Company in India serve a global clientele, establishing a reputation for delivering top-notch visualizations that satisfy clients worldwide.