InfoQ

News

Spying on Silverlight

Posted by Robert Bazinet on Sep 04, 2008 12:58 PM

Community
.NET
Topics
Silverlight
Tags
Internet Explorer ,
Debuggers

The success of Microsoft Silverlight, as seen in the recent Beijing Olympics, shows the capabilities of the technology and is attracting more developers.  The addition of end-users and developers using Silverlight will also drive more tool development and one such useful tool is Silverlight Spy by First Floor.

Silverlight Spy is a free .NET 3.5 tool which allows for detailed inspection of web pages hosting Silverlight 2 content.  This tool uses its own built-in browser which allows users to navigate to any web site and inspect the Silverlight.

The features of Silverlight Spy include:

General

  • Convenient explorer providing access to all application details
  • Extensive search (still in development)

XAP Package

  • View and export XAP package contents
  • View and export assemblies and assembly resources
  • View .NET types and members including statistics
  • Decompile .NET types and members (requires Reflector)

Isolated Storage

  • Explore Isolated Storage structure
  • View and export files in Isolated Storage

Application Style

  • View and export Default Control Styles
  • View and export Application Control Styles

User Interface

  • Explore UI object model with visual feedback in application
  • Find UI elements by selecting them in application
  • Read and write UI element properties
  • View regenerated XAML of (parts of) the UI object model)
  • View UI statistics
  • Preview isolated parts of the User Interface (still in development)
  • Monitor events raised by UI elements

Tools

  • Microsoft Silverlight Configuration
  • Inspect and validate cross-domain access policy files
  • HTTP monitor provides insight in HTTP/HTTPS traffic

Requirements for installing and using Silverlight Spy are minimal:

  • Internet Explorer 6 or higher
  • Silverlight 2 (Beta 2)
  • Windows Installer 3.1
  • .NET Framework 3.5 runtime

Chris Koenig posted a review of Silverlight Spy on his web site.  Chris had good thoughts about the tool:

So far, after just a little bit of use, I really, really dig this tool.  I know a lot of people jumping on the Silverlight development bandwagon and I know this will be a big help to them, both from a debugging as well as a learning experience.  The integration with Reflector puts this tool totally over the top!  I highly recommend you get out to First Floor’s web site Download Silverlight Spy today!

Silverlight Spy can be downloaded from the company's web site which also includes additional information.

The "success" of Microsoft Silverlight ? by Cyril Gambis Posted Sep 5, 2008 3:58 AM
Re: The by Dan Tines Posted Sep 5, 2008 6:44 PM
Re: The by Robert Bazinet Posted Sep 6, 2008 11:59 PM
Re: The by Lars Nielsen Posted Sep 7, 2008 4:12 AM
Re: The by ZedroS Schwartz Posted Sep 7, 2008 10:15 AM
Re: The by Dan Tines Posted Sep 7, 2008 12:31 PM
Re: The by Robert Bazinet Posted Sep 7, 2008 3:17 PM
  1. Back to top

    The "success" of Microsoft Silverlight ?

    Sep 5, 2008 3:58 AM by Cyril Gambis

    I don't want to begin a flame war, but the "success" of Microsoft Silverlight is quite relative.

    I can remember that event the ad web site for vista released recently (http://www.mojaveexperiment.com/) was based on Adobe Flex. Since it was some kind of proof of the youthfulness of Silverlight, they released a new version based on Silverlight beta 2, and a HTML version with javascript effect library (and removed Flex version). But Silverlight is still in beta...

    I think Silverlight has the potential to become a great technology, but it's very young, and they change a lot of things at each new beta release (like Adobe did, when they began with Flex - versions 1.0, 1.5 and 2 very different).
    And Silverlight tools like this spy are very important in the adoption of the technology, particularly in the Open Source community.

  2. Back to top

    Re: The

    Sep 5, 2008 6:44 PM by Dan Tines

    I think it's pretty much inevitable that Silverlight will have reasonable market penetration given Microsoft's industry clout and the development model itself - IronRuby, IronPython, C#, VB....and a subset of XAML, which .NET developers will eventually be using.

  3. Back to top

    Re: The

    Sep 6, 2008 11:59 PM by Robert Bazinet

    @Cyril - I agree Silverlight is still very young and I am not implying Microsoft is declaring victory with Silverlight. My statements were to the level that MS has made strides with Silverlight with the NBC Olympics site and others. These large sites make developers notice a technology such as Silverlight and explore using it as a tool. Flash has a huge user base and it will be a long time, if ever, before MS sees those numbers with Silverlight.

  4. Back to top

    Re: The

    Sep 7, 2008 4:12 AM by Lars Nielsen

    Strides usually imply some kind of success, reading NBC dumps Silverlight indicates anything but success. Lars

  5. Back to top

    Re: The

    Sep 7, 2008 10:15 AM by ZedroS Schwartz

    And even without having NBC dumping it, as said there : http://www.alleyinsider.com/2008/9/nfl-nbc-tap-adobe-s-flash-for-live-football "The Olympics online were a joint production between NBC and Microsoft, and an opportunity for Microsoft to build a user base for Sillverlight, its new media player." A joint production... from what I've seen in past projects with MS tech, NBC could even have been paid by MS for this.

  6. Back to top

    Re: The

    Sep 7, 2008 12:31 PM by Dan Tines

    ...and NBC's move to Flash didn't pay off But people are fooling themselves if they think that Flash is going to remain the only game in town in the RIA space.

  7. Back to top

    Re: The

    Sep 7, 2008 3:17 PM by Robert Bazinet

    @Lars - Thank you for the heads up, I had not seen that news. I think the fact that Silverlight was used for the NBC Olympics site does show the capability. Yes, Silverlight is young and it will move ahead with MS pushing it. There will be other sites using it and adoption will increase.

Educational Content

Bindings, Platforms, and Innovation

This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.

Orchestrating Long Running Activities with JBoss / JBPM

This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.

Neo4j - The Benefits of Graph Databases

This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.

Realistic about Risk: Software development with Real Options

This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.

Communication Flexibility Using Bindings

This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.

Writing DSLs in Groovy

After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.

Scaling Agile with C/ALM (Collaborative Application Lifecycle Management)

IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.

Concurrent Programming with Microsoft F#

Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.