473,378 Members | 1,393 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

TTL in the Assembly Download Cache

Hello,

Can anyone tell me how long an assembly downloaded via a no-touch
application will remain in the assembly download cache? I realize I can
manually remove them via the "gacutil.exe /cdl" command, however, I'm
curious how long they'll stick around if they are never manually removed.

There are two reasons I am asking this:

1) Users with only the runtime version of the .NET Framework will not have
the "gacutil.exe" utility and therefore can't manually clear the cache.

2) As new versions of a downloaded assembly are made available, older
versions remain in the cache.

Any insight as to how long they will remain is greatly appreciated.

--
Thanks, Jeff
Nov 22 '05 #1
5 3936
I thought the size was set default to 50MB. If it gets full the assembly
that is not used for the longest time will be deleted from the cache. This
mechanism works in the same way as the cache in Internet Explorer.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Jeff B." <je**@nowhere.com> schreef in bericht
news:%2****************@tk2msftngp13.phx.gbl...
Hello,

Can anyone tell me how long an assembly downloaded via a no-touch
application will remain in the assembly download cache? I realize I can
manually remove them via the "gacutil.exe /cdl" command, however, I'm
curious how long they'll stick around if they are never manually removed.

There are two reasons I am asking this:

1) Users with only the runtime version of the .NET Framework will not have
the "gacutil.exe" utility and therefore can't manually clear the cache.

2) As new versions of a downloaded assembly are made available, older
versions remain in the cache.

Any insight as to how long they will remain is greatly appreciated.

--
Thanks, Jeff

Nov 22 '05 #2
> I thought the size was set default to 50MB. If it gets full the assembly
that is not used for the longest time will be deleted from the cache. This
mechanism works in the same way as the cache in Internet Explorer.


Yeah, I just found something stating the same thing. Do you (or anyone
else) know if this 50MB value is configurable?

--
Thanks, Jeff

Nov 22 '05 #3
Yes you can configure it:
- In an explorer window navigate to C:\WINDOWS\assembly\Download (or
C:\WINNT\assembly\Download)
- Then choose "Cache Settings..." from the Extra menu.
- In the store limits frame you can alter the size.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Jeff B." <je**@nowhere.com> schreef in bericht
news:%2****************@TK2MSFTNGP12.phx.gbl...
I thought the size was set default to 50MB. If it gets full the assembly
that is not used for the longest time will be deleted from the cache. This mechanism works in the same way as the cache in Internet Explorer.


Yeah, I just found something stating the same thing. Do you (or anyone
else) know if this 50MB value is configurable?

--
Thanks, Jeff

Nov 22 '05 #4
> Yes you can configure it:
- In an explorer window navigate to C:\WINDOWS\assembly\Download (or
C:\WINNT\assembly\Download)
- Then choose "Cache Settings..." from the Extra menu.
- In the store limits frame you can alter the size.


Thanks again. That's useful information. The odd thing is, my download
size is set to 1MB (not the 50MB default) but the cache currently contains
13MB of files (obviously over the 1MB limit). The help page associated with
this dialog also shows a cache size of 1MB in the screenshot of the
properties dialog. I wonder if this 1MB size is just a fluke and it's
really 50MB until changed?

--
Thanks, Jeff
Nov 22 '05 #5
Jeff

I have no idea... Maybe some MS guys/girls?

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Jeff B." <je**@nowhere.com> schreef in bericht
news:%2****************@TK2MSFTNGP11.phx.gbl...
Yes you can configure it:
- In an explorer window navigate to C:\WINDOWS\assembly\Download (or
C:\WINNT\assembly\Download)
- Then choose "Cache Settings..." from the Extra menu.
- In the store limits frame you can alter the size.
Thanks again. That's useful information. The odd thing is, my download
size is set to 1MB (not the 50MB default) but the cache currently contains
13MB of files (obviously over the 1MB limit). The help page associated

with this dialog also shows a cache size of 1MB in the screenshot of the
properties dialog. I wonder if this 1MB size is just a fluke and it's
really 50MB until changed?

--
Thanks, Jeff

Nov 22 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Jeff B. | last post by:
Hello, Can anyone tell me how long an assembly downloaded via a no-touch application will remain in the assembly download cache? I realize I can manually remove them via the "gacutil.exe /cdl"...
4
by: Frasse | last post by:
Hello all! If a client has run a program with url like this: http://server/HelloWorld.exe, then the assembly HelloWorld.exe will be cached in Assembly's Download Cache. But if then a new version...
0
by: Bryan McArdle | last post by:
How is the .NET Download Assembly Cache related to IE's Temporary Internet Files cache? We have a large app that we are deploying using .NET's No-Touch-Deployment capability to launch the app...
3
by: RickN | last post by:
We have a C# remoting application that runs thru the web. Assemblies appear to be loaded from the download cache. Is there any way to have them automatically copied to the GAC and be loaded from...
2
by: Greg Bacchus | last post by:
Hi, Does anyone know how to get an offline reference to an assembly that has been downloaded using Assembly.LoadFrom. E.g. Application downloads the assembly while it in online... next time it...
3
by: Michael Bøcker-Larsen | last post by:
Hi I'v been stuck on this problem for ages now. I have found that I'm not the only one with this problem, by looking through the different newsgroups. Hope you can help me! I know there is a...
2
by: George Durzi | last post by:
I have a dll that I use in several projects, that I placed in the Global Assembly Cache. This dll is references in each of my projects. This Dll is referenced by a type= declaration in my...
12
by: Steven Berkovitz | last post by:
I have several ASP.NET applications with near identical web.config files. In one of them I am successfuly able to bind to an assembly while on others I am not. All of them have the following...
4
by: =?Utf-8?B?SmFu?= | last post by:
I have a .NET 2.0 application divided in two assemblies; the exe and a dll. The application generates a plugin-dll which is then loaded in a separate AppDomain (along with a second instance of my...
8
by: Joe Withawk | last post by:
I have a solution consisting of a c# project as win application and a c++ project as classlibrary. Both are .net 2.0 The classlibrary handles some loading of quicktime movies, but that should not...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.