请输入您要查询的百科知识:

 

词条 Download Cache
释义

  1. Usage

  2. References

{{Distinguish|web cache}}

The Download Cache, or downloaded files cache, is a component of Microsoft's .NET Framework that is similar to the Global Assembly Cache except that it caches assemblies that have been downloaded from the Internet.[1]

Q.

Assemblies are downloaded from the Internet when a specific managed object is requested using the <object> tag in a web page. For example, the following HTML will cause Internet Explorer to download MyAssembly.dll to the Download Cache and will subsequently instantiate MyControl on the page that contains it.

<object id="myControlId" classid="http
//MyServer/MyVirtualFolder/MyAssembly.dll#MyNamespace.MyControl">
  <param name="MyProperty" value="SomeStringValue" />
</object>

Usage

Like the GAC, the Download Cache can be accessed with gacutil.exe.[2]

One can list the contents of the Download Cache using the command:

gacutil.exe /ldl

One can delete the contents of the Download Cache using the command:

gacutil.exe /cdl

References

1. ^Basic Instincts: Deploying Assemblies
2. ^Global Assembly Cache Tool (Gacutil.exe)
{{Portal bar|.NET Framework}}

1 : .NET Framework

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/16 8:01:48