BT

View Source for Silverlight

| by Jonathan Allen on May 24, 2007. Estimated reading time: less than one minute |

One of the most lauded features of HTML and JavaScript is how easy it makes it for hobbyists and novices to get started simply by looking at the source code for a feature they want to copy.

With Silverlight, viewing the source isn't as easy. Unlike JavaScript, Silverlight can send compiled assemblies to the client instead of the raw source code.

Fortunately, this isn't the end of the story. Using a technique called decompiling, Lutz Roeder's Reflector can turn these compiled assemblies back into code. While the resulting code isn't identical to the original source code, it is functionally the same. On the plus side, it doesn't have to be returned in the same language. This makes Reflector a pretty good language conversion tool.

In order to make viewing Silverlight assemblies easier, Ernie Booth has created a Reflector plug-in that downloads the correct assembles based on a URL.

Rate this Article

Relevance
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss
BT