Thursday, November 20, 2008
 
   
 
Welcome to my site

First let me say thanks for stopping by my site. My name is David Hanson-Graville and I am a IT consultant working in the UK. Let me make it clear, I am passionate about technology and specifically .net and its various forms. I've programmed in a range of langages, but I can say, I am now at my happiest when coding with c#. I hope my blog is an enjoyable & educational read and please feel free to email me at David.Hanson@OnTheBlog.net if you have any questions. 

Archive Minimize
Print  
Contact me Minimize
Print  
Microsoft Certs Minimize







Print  
Silverlight News Minimize
silverlight - Google News
  1. Review: Silverlight, for real this time - Computerworld

    Published Wed, 19 Nov 2008 21:07:45 GMT by
  2. Novell and Microsoft sanction Silverlight work-alike for Linux - BetaNews

    Published Wed, 19 Nov 2008 20:25:22 GMT by
  3. MLB.com drops Silverlight for Adobe Flash - CNET News

    Published Mon, 17 Nov 2008 22:42:14 GMT by
  4. Adobe Flash Hits Home Run With MLB - InformationWeek

    Published Thu, 20 Nov 2008 10:22:39 GMT by
  5. .NET similarities prove golden for Silverlight - SDTimes.com

    Published Wed, 19 Nov 2008 20:11:43 GMT by
  6. Silverlight, for real this time - NetworkWorld.com

    Published Tue, 18 Nov 2008 21:11:49 GMT by
  7. Three's the Charm with Silverlight 3 - Redmond Developer News

    Published Tue, 18 Nov 2008 19:51:20 GMT by
  8. ICONICS GENESIS64 Features Silverlight Technology - Plant Automation (press release)

    Published Thu, 20 Nov 2008 07:44:36 GMT by
  9. Silverlight, Flash, and Flex - InfoWorld

    Published Tue, 18 Nov 2008 22:24:42 GMT by
  10. Microsoft crashes Adobe RIA party - Register

    Published Mon, 17 Nov 2008 22:19:52 GMT by
Print  
Decompiling Silverlight Apps Minimize
Location: BlogsOnTheBlog    
Posted by: David Hanson Sat, 29 Mar 2008 20:48:08 GMT

Did you know you can decompile Silverlight apps? As with ever other .NET app, if you have the assemblies you can pretty much load them into reflector and view the source.

So when it comes to silverlight how do you get the assemblies in the first place? Well it turns out when you develop your app all the assemblies are packages into a XAP file which is then downloaded to the client.

An XAP is actually just a zip file with a different extension. Therefore, all you need to do is the following.

1.) Locate the XAP file on a web page or file system by looking at the source.

2.) Place into the browser and download the XAP package.

3.) Once downloaded, change the XAP extension to .ZIP

4.) Extract the package using whichever tool you like. I use WINRAR.

5.) Locate the assemblies in reflector and view the source.

Permalink |  Trackback

Your name:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel