Phone - Australia: 1300 553 313
Hotline - New Zealand: 0800 450 168
ComponentOne Logo


Size Matters in Silverlight

XapOptimizerIn one click you can reduce the size of your Silverlight apps up to 70% and secure your code with obfuscation. Add ComponentOne XapOptimizer to your dev cycle with build automation, backups, and limitless options.

ComponentOne XapOptimizer is a utility that optimises Silverlight applications by making XAP files smaller and more difficult to reverse engineer.

Reducing application size is always a good thing because small applications load faster and are easier to distribute and install. This is especially important in Internet scenarios, where applications are deployed as part of Web pages and are constantly downloaded and updated.

Preventing reverse engineering is also a common concern, especially for .NET applications which are easy to disassemble using popular tools such as the Red Gate .NET Reflector.

ComponentOne XapOptimizer accomplishes these optimisations using two techniques:

  • Pruning: Pruning (also known as dead-code elimination) consists of analysing the application and removing classes and resources that are not used. Dead code is common in applications that use libraries. Libraries typically include many controls and classes of which each client application only uses small subsets.
    ComponentOne XapOptimizer will also remove unused resources (Styles, Templates, Brushes, and so on) defined in resource dictionaries in XAML files. ComponentOne XapOptimizer supports merged dictionaries now as well.
  • Obfuscation: Obfuscation consists of changing the names of classes and fields in order to deter reverse engineering. This process also reduces the size of assemblies by using obfuscated names that are shorter than the original names. For example, if your application has a public class called PasswordManager, the XapOptimizer obfuscator will rename that class to something more like x. This makes the new assembly smaller and harder to understand for anyone who opens it in a disassembler.

XapOptimizer Features and Highlights

Customise the Optimisation Output

See what's going to be removed from the assembly before it is actually removed. You can also manually "Pin" some elements to keep them after the optimisation process. You can now pin entire assemblies, namespaces and resources.

Customise the Optimisation Output


Choose to enable or disable obfuscation and choose the specific elements to obfuscate. Obfuscation is the deliberate act of making your source code difficult for others to reverse engineer.


Sign Assemblies

You can specify strong-names for the assemblies in the application. You can choose whether to sign elements in the assembly and which specific elements to sign.

Sign Assemblies

Save Projects and Create Backups

XapOptimizer allows you to save projects allowing you to reopen the project at a later date or easily try different options. It also has the ability to automatically create a back up version of the file to be optimised.

  Save Projects and Create Backups

Integrate with Your Build Process

Integrate XapOptimizer as part of the build process in Microsoft Visual Studio. This is easy to do using a post-build event to automatically optimise your app every time you perform a release build. Note that previously you could use the /cmd command line argument to run XapOptimizer in command mode for batch runs. Now, you can use the separate XapOptimizerCmd.exe application included in the XapOptimizer installation.

Use with Any Third Party Controls

Use XapOptimizer with any Silverlight assembly including third party controls; it is not restricted to ComponentOne controls.

Silverlight 5 Support

XapOptimizer now includes enhancements to support Silverlight 5 applications as well as Silverlight 4.



For more information please contact the MicroWay sales team: buynow
Head Office
MicroWay Pty Ltd
PO Box 84,
Braeside, Victoria, 3195, Australia
Ph: 1300 553 313
Fax: 1300 132 709
email: sales@microway.com.au
ABN: 56 129 024 825
Sydney Sales Office
MicroWay Pty Ltd
PO Box 1733,
Crows Nest, NSW 1585, Australia
Tel: 1300 553 313
Fax: 1300 132 709
email: sales@microway.com.au
ABN: 56 129 024 825
New Zealand Sales Office
MicroWay Pty Ltd (NZ)
PO Box 912026
Victoria Street West
Auckland 1142, New Zealand
Tel: 0800 450 168
email: sales@microway.co.nz

International: call +61 3 9580 1333, fax +61 3 9580 8995

© 1995-2016 MicroWay Pty Ltd. All Rights Reserved. Terms and Privacy Policy.