Results 1 to 5 of 5

Thread: Want to use GAC in asp.net

  1. #1
    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.

  2. #2
    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.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    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.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    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.

  5. #5
    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.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,038,162.72859 seconds with 15 queries