This is a migrated thread and some comments may be shown as answers.

Deploying applications in the server

1 Answer 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Karl Ranville
Top achievements
Rank 1
Karl Ranville asked on 07 Aug 2013, 09:02 AM
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

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 07 Aug 2013, 10:09 AM
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.
Tags
General Discussions
Asked by
Karl Ranville
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or