I found a couple things,
First you need to upload all your DLLs to the minifier at the same time so It can asses what you need better. I see why but this shouldnt be a requirement. Do I need to upload my DLL's too so the minifier can see what I am using?
I found that simple stuff like EventArgs Types and Gridview Sum Aggregate Functions are removed.
I would like to see two minifier modes. A Safe mode that removes only what is unchecked(single dll minify) and an aggressive mode that looks at all DLL's uploaded and removes all that is not used.
I was under the impression that I was only to upload Telerik DLL's to the minifier but after writing this I am thinking that is not true. Only the Telerik Assemblies are minified but all DLL's that reference them should be uploaded. Is that right?
6 Answers, 1 is accepted
Actually you should upload only Telerik assemblies - all others are discard. However we are working on a tool (Xap Minifier) that will allow you to upload entire xap and process it's assemblies.
But for the moment you should upload telerik assemblies, select the controls you need, get the resultant assemblies and build your xap with them . Read the full story.
Thank you for your suggestion about the safe mode - we will definitely consider it.
Miro Miroslavov
the Telerik team
Could you post a bug about the Telerik.Windows.Controal.EventArgs and the GridView Aggregate Functions being removed when the really were needed?
Thanks
I see huge potential for this app
Sure, I've create work item called -" AssemblyMinifier: After minfying RadGridView - the Sum Aggregate Functions are removed." It will be fixed soon.
Thanks for your interest in the "Assembly Minifier". :)
Miro Miroslavov
the Telerik team
I'm playing with the assembly minifier to improve control startup.
I've two suggestions :
- Is it possible to not flush the uploaded DLL and choice, when extracting the result ?
I often need to modify my choice after recompiling my solution with extracted DLL. And re-do the last choice can be a pain in case of big sets with fine tuning.
- Can you extract the common classes between TreeListView and GridView (like columns) in a third namespace, so we can embedd common+treelistview without the gridview ?
Thanks for your work !
Can you inform us about the progress of the "xap minifier" ?
Regards,
I think your suggestion is good to have, that's why I've created Pits item for it, so you may vote for it.
About the TreeListView - we'll consider what can be split in a way that will allow better minification.
The "Xap Minifier" is ready to go (it is testing phase) and will be published and officially announced in a week or two. Hope you'll try it once it is available and give us your valuable feedback.
Thank you.
Miro Miroslavov
the Telerik team
Thanks for your anwsers :)