Thus I decided to write a plugin for Lutz Roeder's Reflector
Here is all the source and assembly for the 0.2 Alpha
of the Reflector Silverlight Browser.
To install the plugin:
- Put the "Reflector.SilverlightBrowser.dll" file in the same directory as you have Reflector installed.
- Launch Reflector
- Choose "View->Add-ins"
- Click Add
- Choose the Reflector.SilverlightBrowser.dll file.
- To test the plugin try the chess game sample from Silverlight.net
Using the Plugin
Once it is installed hit "CRTL+U" or "File->Open Silverlight URL".
Paste a link to your favorite Silverlight site into the textbox and hit go.
Protecting Your Code
So the feedback I get when I tell people about this plugin is how can protect the IP in my code from being seen by other people. I have two pieces of advice on that subject. First option is to keep the code you want to keep protected on your server and then make webservice calls from your client to that code.
The second option is to use Obfuscation. What is Obfuscation you say? "In the context of software, obfuscation is the process of scrambling the symbols, code, and data of a program to prevent reverse engineering." - CLR and .NET Security blog
If you would like to learn more about Obfuscation check out this great post
Bugs and Features
First off I wrote this in a matter of a day or two with some great guidance from Lutz Roeder so a big thank you to Lutz. Thus there are inevitably going to be a number of bugs in the code. You have code so feel free to improve it and use it as you like.
The major issue I am going to hear about is that some particular site doesn't work correctly, if you find a site that doesn't work that you would like to have work please send me the link.
Second what features are missing that you would like to see?
Third I would love to hear any other feedback
you might have to offer.