This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Assembly Cache
Each machine on which the NGWS runtime is installed has a machine wide code cache called the assembly cache. The assembly cache serves three primary purposes:
- It is a store for code downloaded from the internet or other http or fileservers. Code downloaded on behalf of a particular application is stored in the "private" portion of the cache to prevent it from being seen and used by others.
- It is a repository for components that are shared among many applications on the machine, or for those applications wishing to restrict a user's ability to see and accidentally delete files. Those assemblies explicitly installed into the cache are stored in the "global" portion of the cache. These assemblies are visible to all applications on the machine.
- Its holds native code versions of NGWS runtime assemblies that have been pre-jitted for optimal performance
The SDK includes a shell extension called the Assembly Cache Viewer. The shell extension exposes the assemblies stored in the global cache through the Windows Explorer. Through this extension, assemblies can be added to or deleted from the cache. The extension also allows you to view an individual assembly’s properties.
More documentation on the Assembly Cache Viewer is available in Assembly Cache Viewer.