Telerik Assembly Minifier is a tool that lets you extract only the controls’ classes and resources you need to use in your application development, thus significantly reducing the size of the assemblies. Using the Assembly Minifier you will achieve significantly better loading time when the XAP files containing the minified (optimized) assemblies are to be loaded on the client side.
Introduction
Telerik Assembly Minifier is a tool
that lets you extract only the controls’ classes and resources you need to use
in your application development, thus significantly reducing the size of the
assemblies. Using the
Assembly
Minifier you will achieve significantly better loading time when the
XAP files containing the minified (optimized) assemblies are to
be loaded on the client side.
Brief introduction
Soon most of you will be writing Silverlight applications. Depending
on your requirements of your project. Some of you will make mistakes I did by
including unnecessary resources in your project. As a newbie in a subject you
might never know what is needed to run your application, infect you might be
convinced that the .xap file contains all the resources needed. But this is not always the truth. If you are
building small applications in Silverlight, you might never feel the
difference, but with big projects where .xap files are even separated you will
feel the performance pressure. Telerik as a Provider of Silverlight and other
.Net controls for different platforms created a wonderful free online tool,
that can Minify or rather let me say that can help you reduce the size of your
.xap file by removing unnecessary resources in your xap file
How can you minify your Xap or your Silverlight Assemblies
- Open the application at: http://minifier.telerik.com.
- Browse and upload Telerik Silverlight Assemblies, the ones
that you want to optimize. See the tips at the bottom, for more information on
uploading.
- After you select and upload the assemblies,the Assembly
Minifier will automatically start processing and analyzing the files.
- Then, you will be able to select only the controls you will need in your
application.
- As soon as the analyzing process finishes, you will be able to see the
relative size of each control.The size is just for comparison purposes and does
not mean that the output assemblies will have the exact same size as shown in
the TreeListView.
- Once you finish the selection, you can click the Extract
button.
- As soon the server processes the Extraction, you will be prompted to
Save a ZIP file containing the minified assemblies.
- If you want to try the minified assemblies in an existing
project:
- You should first remove the references to the old
assemblies
- Clean up the Visual Studio Solution
- Add references to the newly created (minified) assemblies
- Build the Solution
- If you want to use the minified assemblies in a new project you should
simply add reference to the newly created assemblies in the project. If you have
troubles referencing the assemblies, you may need to check the assembly files
for the Lock bit and unlock them if needed – right click on the file, go to
Properties/Unlock assembly)
Conclusion I was talking to Sheo today , and i said Telerik makes silverlight just too easy. If you advice your company to buy Telerik controls , you would have done the best thing for them.
if you want more info on the minifier visit Telerk's Blog here
http://blogs.telerik.com/blogs/posts/10-06-10/telerik_assembly_minifier.aspx
Thank you Visiting Dotnetfunda
Vuyiswa Maseko