Where should we put Telerik assemblies when not in GAC

5 posts, 0 answers
  1. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 07 Dec 2009 Link to this post

    Hello,

    I am using the xap created with Telerik as dynamically loaded modules from different folders in my web application.
    Where should I put the Telerik assemblies if I can't install them in GAC ?

    Thanks for answer.
    CS
  2. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 09 Dec 2009 Link to this post

    Finally installing these assemblies in the Bin folder for Web Application seems Ok.
    Curious I was not expecting Silverlight to respect the .net Application Domain ?

    CS
  3. DevCraft banner
  4. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 09 Dec 2009 Link to this post

    Hello Christian,

    The Telerik Silverlight assemblies are included in the Silverlight XAP file, so you don't need them in the application's Bin folder when deploying. You just need to set the references and Visual Studio will generate the XAP files automatically.

    All the best,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 09 Dec 2009 Link to this post

    Hello Valeri,

    Thanks you, it seems I am fighting against myself :)

    Little questions related to your answer:

    • if I realize several xap files, they will all include the Telerik assemblies, is there a way to share these assemblies
    • when Telerik upgrade its assemblies I need a full rebuild, not just changing the assemblies like in asp.net

    Best regards
    CS

  6. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 09 Dec 2009 Link to this post

    Hi Christian,

    Up to the questions:

    - The highlighted option in the Properties pane (see the attached screenshot) controls whether the corresponding assembly will be included in the XAP file, or not. However, when loading the additional XAP files, you should take care of loading the assemblies (or use Prism or other framework that will take care of them for you). For example, our online demos' initial XAP file contains only the Controls, Input and Navigation assemblies, plus the empty demo application. When you click on GridView, for example, we load an additional XAP file, that contains the GridView assembly and the GridView examples.

    - Yes, you need to do a full rebuild.

    Regards,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top
DevCraft banner