Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Want to use GAC in asp.net

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 02-02-2010
Member
 
Join Date: Aug 2009
Posts: 59
Want to use GAC in asp.net
  

Hello to all,
I am new to this forum. Currently I am working on asp.net project. In that project I have to use GAC. But I don't know how to use it. Can anyone how to use GAC in asp.net. Please help me.
Thanks in advanced.

Reply With Quote
  #2  
Old 02-02-2010
Member
 
Join Date: Apr 2008
Posts: 1,948
Re: Want to use GAC in asp.net

Full form of GAC is Global Assembly Cache. It is used to store Assemblies that should be used by all applications. The Global Assembly Cache (GAC) allow you to share assemblies across numerous applications.
For example,
If all the applications are using assembly that is stored in Global Assembly Cache (GAC) then new version policy statement is automatically added to the Machine.configuration file for redirecting to the assembly.
Reply With Quote
  #3  
Old 02-02-2010
Member
 
Join Date: May 2008
Posts: 2,008
Re: Want to use GAC in asp.net

Hey if you have to use GAC in your project then you have to first add any class DLLs files to the the .NET SDK using the Configuration Tool. After this you have to identified your correct GAC-based classes from your web.configuration file. To get more benefits from GAC you have to add only those class libraries which are you plan to reuse but do not maintained these libraries with your application directly.
Reply With Quote
  #4  
Old 02-02-2010
Member
 
Join Date: Apr 2008
Posts: 2,001
Re: Want to use GAC in asp.net

You can use GAC in asp.net in following way.

Step1: First open Visual Studio 2005.
Step2: Now create new Class Library project named GAC in Visual Basic 2005.
step3: You can take help SN Tool to create library. It is very easy process.

After this you can view these DLL files using in newly created folder.
Reply With Quote
  #5  
Old 02-02-2010
Member
 
Join Date: Nov 2005
Posts: 1,323
Re: Want to use GAC in asp.net

The Global Assembly Cache is commonly used to share assemblies across all applications on a web server. It is very difficult to use. As per my knowledge there is no use GAC in ASP.NET. We specially use GAC in .NET for holding information about whole assemblies. When you write class libraries in .NET which are going to be placed into the GAC, you have to add strong name to the assembly.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search



All times are GMT +5.5. The time now is 09:25 AM.