←Select platform

CacheVirtualDirectory Property

Summary

Location in a web server to use for storing cache items.

Syntax
C#
C++/CLI
Java
Python
public Uri CacheVirtualDirectory { get; set; } 
public:  
   property System::Uri^ CacheVirtualDirectory 
   { 
      System::Uri^ get() 
      void set(System::Uri^ value) 
   } 
public URL getCacheVirtualDirectory() 
public void setCacheVirtualDirectory(URL value) 
CacheVirtualDirectory # get and set (FileCache) 

Property Value

The location in a web server to use for storing cache items. Default value is null.

Remarks

This is an optional property to set if a direct URL to cache item support is required. Usually, this is performed by creating a web virtual directory (in IIS for example) to the file system path value used with CacheDirectory.

GetItemVirtualDirectoryUrl can be used to get a direct URL to any cache item. This is performed using the following:

filePath = CacheVirtualDirectory + "\" + RegionName + "\" ItemName
Requirements

Target Platforms

Help Version 22.0.2023.5.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.