Deploying applications in the server

2 posts, 1 answers
  1. Karl Ranville
    Karl Ranville avatar
    28 posts
    Member since:
    Mar 2013

    Posted 07 Aug 2013 Link to this post

    Hi

    There are two ongoing projects which need to be moved to the production server. So I need an expert opinion on the radcontrols deployment in the server whether we need to do it separately or use a global sharing? Which is preferred?

    Thanks
    Karl
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 07 Aug 2013 Link to this post

    Hi Karl,

    You can deploy the controls in the Global Assembly Cache with the help of Gacutil.exe which is installed along with the Visual Studio.

    To install the Telerik.Web.UI assembly, open Visual Studio Command Prompt from Start > Programs > Microsoft Visual Studio <VS version> > Visual Studio Tools and run the gacutil.exe tool with -i parameter. i represent install. Please check the command below.

    gacutil.exe -i "C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q2 2010\Bin40\Telerik.Web.UI.dll"

    If you have a shared component that is used in more than one application then it is always preferable to put those assemblies in the GAC.
    Your files will be secure since administrators often protect the system root directory using an Access Control List (ACL) to control write and execute access. Because the global assembly cache is installed in the system root directory, it inherits that directory's ACL. It is recommended that only users with Administrator privileges be allowed to delete files from the global assembly cache.

    Loading assemblies from GAC mean less overhead and security that your application will always load correct version of .NET library.

    Another advantage is multiple copies of assemblies with the same name but different version information can be maintained in the global assembly cache. The common language runtime checks the global assembly cache for an assembly that matches the assembly request before probing or using the codebase information in a configuration file.

    Thanks,
    Shinu.
Back to Top