Telerik Minifier does not work anymore ?

Thread is closed for posting
4 posts, 0 answers
  1. Vinicius
    Vinicius avatar
    2 posts
    Member since:
    Oct 2014

    Posted 28 Oct 2014 Link to this post

    Hello. My project has a number of telerik Silverlight DLLS which together are consuming much space to downloading the application. I'm trying to use the Telerik Minifier in some of them, such as: 

    Telerik.Windows.Controls.dll 
    Telerik.Windows.Controls.GridView 
    Telerik.Windows.Documents.Fixed 
    Telerik.Windows.Controls.DataVisualization 

    Most over 1 Mega size, taking so much time to download. 

    But when I select a DLL to open in Minifier, nothing happens. I've tried in Internet Explorer 11, Chrome, FireFox and in nothing happens. 

    The version of my DLLS is 2012.3.1129.1050 

    Please, I really need to reduce the size of these files. How can I fix this? 

    Vinisanp
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 31 Oct 2014 Link to this post

    Hello Vinisanp,

    We are fully aware of some discrepancies in our Assembly Minifier. The Assembly Minifier provided a solution to a problem which was present in the previous version of Silverlight. With the introduction of Implicit Styles and no-XAML assemblies in UI for Silverlight we may be discontinuing the support for the minifier. We will have an official statement soon. 

    Do you think you will be able to use our no-XAML assemblies and Implicit Styles instead of the minifier? It is a better solution, because the dlls are with reduced size at first place and after that you have full control on which styles you need. Furthermore, this approach ensures a better performance for your project. More information on the benefits from using Implicit Styles you can find in this blog post.

    We are ready to assist you with any questions you may have when using Implicit Styles.


    Regards,
    Pavel R. Pavlov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
  4. Vinicius
    Vinicius avatar
    2 posts
    Member since:
    Oct 2014

    Posted 11 Nov 2014 in reply to Pavel R. Pavlov Link to this post

    Hello, thanks for the reply, but I still have some questions.
    I took a look at the NO-XAML assemblies and actually checked that they are smaller than the ones I'm using now. But the difference is not so great. For example, the Telerik.Windows.Controls.DataVisualization assembly has the size of 2480 Kbytes and the same assembly in the version in the XAML has 1945 kbytes. I'm using silverlight cached assemblies and compact them into a zip file. The first stay with size of 585 kilobytes and the second version, with NO-XAML, stay with the size of 546 Kbytes, which gives a very small difference between them.

    My system is now the size of 11 MB, which I consider to be very large. My XAP is small. Is now with the size of 500 kbytes. When i use the telerik dlls the total size grow so much.

    Please help me solve this problem
  5. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 13 Nov 2014 Link to this post

    Hi Vinisanp,

    Including our assemblies into your project has its price. Such excellent UI components require huge amounts of code. You say that the difference between the ordinary binaries and our NoXaml binaries is not great. However, you should keep in mind that our minifier should do exactly this. It removes the unused XAML from our binaries and leaves only the styles that you will use. It does not reduce the C# code of the controls. What I want to say is that since our NoXaml binaries are large for you our minifier will definitely not cover you requirements.

    If using our NoXaml binaries is still not convenient for you there is one more option that you can take. As our customer you have access to our source code. You can download the source code form your Telerik account and you can build your own binaries. In those binaries you can exclude the controls that you will not use along with their styles. By following this approach you can reduce the code as much as possible. You will need to spend time to reduce the size of the binaries but this is the most convenient way as only you know which controls will be used in your projects.

    I hope this information is helpful.

    Regards,
    Pavel R. Pavlov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top