473,480 Members | 5,031 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 3940
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
570
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
468
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
1290
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
2481
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
2147
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
12155
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
1714
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
3256
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
4437
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
3727
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
6905
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7080
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6736
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6908
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5331
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4478
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2980
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
561
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
178
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.