Update and download Assembly Cache

Source: Internet
Author: User
When running the winform control using IE as the host ProgramThe set will be downloaded to the download cache in the % WINDIR %/Assembly directory. This cache zone has two problems:

1. The default size is 50 MB, but some people have tried to store 13 MB of files even if the storage area's download limit is set to 1 MB.

2. The length of cache time is unknown.

As a result, when a new assembly is released on the server side, the new Assembly may not be updated to the client. The solution is to use gacutil.exe to manually delete the cache. This requires the client to first have the gacutil.exe program, and then run the gacutil/CDL command.

When ASP. NET is used to develop such programs, the Assembly is cached in three places:

1. c: \ Download directory of WINDOWS \ assembly;

2. C: \ Windows \ Microsoft. NET \ framework \ v2.0.50727 \ temporary ASP. NET files;

3. Temporary ie directory.

Among them, 2 and 3 are updated in real time, and only 1 must be manually cleared.

Link: TTL in the Assembly download cacheclear the Assembly's download cache after a no-touch deployment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.