Welcome to the new Telerik Minifier

by Miro Miroslavov | Comments 6

What's new in Telerik Minifier

It is a huge pleasure to announce the release of Telerik’s new Minifier tool now featuring Xap file minification option. It has been a while since we have released the Assembly Minifier and now we bring the concept for minification and reducing the XAP file size to a new level. We have just released the new Telerik Minifier tool that now features Xap Minification to enable you prune and remove everything that your application does not need from the Telerik assemblies in the Xap. As a result, the size of your application's Xap file will be dramatically reduced. Behind the scenes it uses the Assembly Minifier, to discover what should be removed and what not.

Optimize your Xap file in just two steps

  • Go to http://minifier.telerik.com/#/Xap and Upload your Silverlight Application’s Xap file that uses Telerik assemblies
  • Let the minifier discover what's redundant.
  • Download the minified Xap file that will behave in the exact same way.

Features

  • Minification Information – you can check the result of the minification process and see the actual size of the new Xap file compared to the size of the original one.
  • Details Information – you can observe the actual Telerik controls that have been removed by clicking the “View Details” link. These are the controls that your application does not use, so they have been excluded from the original assemblies.

MinifierDetails

Restrictions

Currently the Xap minification is not working well or may introduce some problems if used with more complex scenarios - Application that uses Prism, Assembly Library Caching or some reflection based Load on Demand. We will be working on implementing these features for the future releases.

Windows Phone 7 support

The new Minifier fully supports our newest and innovative RadControls for Windows Phone 7 suite, which means that you can use the Telerik assemblies for WP7 and extract only the controls (classes) that you will need for your development. Or, the other way around, you can simply optimize the compiled Xap file of your Windows Phone application. We know that when it comes to mobile application, the download time, the generated internet traffic and the overall performance of the application really matter. Therefore, we extended our minification tool to also support RadControls for Windows Phone 7. Please read my blog post on how to use the Assembly Minifier for more information.

MinifyWP7

New Design and Theme

The new Minifier comes also with great new Design. You can enjoy our new Expression Dark theme as well as some new navigation features. Both the Assembly Minifier and the Xap Minifier are available at http://minifier.telerik.com.

Home Page

XapMinifier

Conclusion

I am looking forward to see your comments and feedback on the new Telerik Minifier tool, the Xap minification and the support for our controls for Windows Phone 7. We highly value your feedback as we know that this is always the best way to keep our products getting better.

About the author

Miro Miroslavov

Miro Miroslavov

is XAML enthusiast and Team Leader at Telerik. He’s responsible for the RadDiagram framework and some related products. You can follow him on Twitter at @mmiroslavov.

 

6 Comments

Denis Vuyka
Are there any possibility running this tool on premise? I'm not sure it is a good idea uploading "xaps" to your server especially for commercial/LOB applications.
Ben Hayat
Great! You guys have listened.
Ok, let me see if I get this right. Initially, you had Assembly Minifier, where we had to identify each assembly and then define which controls were used by us in our program, so you would have the knowledge of it in use. And then you start the process.

I then made comments [a while back], why don't you parse our XAP file to see what controls/assemblies we have used, then you can make your own list. Are you saying with the new XAP Minifier, this is what you're doing? automating this whole process, without us telling you which controls (in case we miss)?

If yes, Great!
what's the assembly Minifier is there for now?

Secondly, a big congrats for bringing it to WP7. Please be sure in your WP7 page, this is also noted that "Telerik WP7 can become much smaller using minifier".

Thanks Miro!
Miro Miroslavov
Hey @Denis - we have plans to integrate the Xap Minifier with VS in the future and get the minified xap as a post build result. I'm aware that you may consider uploading an internal app to remote server a security problem, but still in this case you may use the Assembly Minifier and do the work manually. 

Thanks @Ben. We are doing our best to bring value to out Silverlight and Windows Phone 7 suites. You're right that Xap Minifier is automatically detecting the used types and removes the not-needed Telerik's code and resources.
I hope we will manage to integrate it in VS in the nearest future, so remove the need to upload anything. 

Best Regards,
Miro M.
The Telerik Team

Veeresh
I tried uploading my .xap file which is 2.7mb. After selecting a file i am getting a message 'Extracting' for more than 30 min. What could be the reason?
easten_20
i got this kind of error when minimizing telerik.window.controls 

'Telerik.Windows.Controls.RadChart' that matches the specified binding constraints threw an exception. [Line: 35 Position: 42]

i think it's still get some problem when using with telerik chart.

Comments

  1.    
      
      
       
  2. (optional, emails won't be shown on public pages)
  3. (optional)
Read more articles by Miro Miroslavov - or - read latest articles in Developer Tools