Training
Module
Improve performance with a cache in a .NET Aspire project - Training
In this module, you'll learn about caches in a .NET Aspire cloud-native app and how to use them to optimize the performance of your microservices.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
This section covers an experimental feature of vcpkg which may change or be removed at any time.
Asset caching is a feature that allows vcpkg to use alternative download endpoints to acquire a package's assets. When asset caching is enabled vcpkg attempts to download assets (such as source code and build tools) from a configured mirror location. If the asset is not available in the mirror location, vcpkg will download it from its original source and then store a copy in the mirror for future use.
Asset caching can help with these common development scenarios:
Asset caching is configured via:
X_VCPKG_ASSET_SOURCES
environment variable, or--x-asset-sources
command-line option.In both cases, the expected value is a semicolon-delimited list of sources. Each source has a specific syntax depending on its storage backend (see the asset caching reference documentation to learn how to configure asset caching sources).
Here are some tasks to try next:
vcpkg feedback
vcpkg is an open source project. Select a link to provide feedback:
Training
Module
Improve performance with a cache in a .NET Aspire project - Training
In this module, you'll learn about caches in a .NET Aspire cloud-native app and how to use them to optimize the performance of your microservices.