Skip to content
DocsTry Aspire
DocsTry

withModule

Method
📦 Aspire.Hosting.Redis v13.5.1
interface RedisResource {
// ... omitted for brevity
withModule(path: string): RedisResource;
}

Signature

methodwithModulebuilder
Configures the Redis resource to use the specified Redis module by providing its path inside the container.
withModule(path: string): RedisResource
pathstring
RedisResource

Applies to

This method applies to the following types: