DataDirectoryDefaultPath Property (WebServicesGlobalSettings)
In This Topic
Gets or sets the default path to a directory that contains web application data ("UploadedImageFiles", "VintasoftCache", "Resources").
Syntax
'Declaration
Public Shared Property DataDirectoryDefaultPath As String
public static string DataDirectoryDefaultPath { get; set; }
public: __property static string* get_DataDirectoryDefaultPath();
public: __property static void set_DataDirectoryDefaultPath(
string*
);
public:
static property string^ DataDirectoryDefaultPath {
string^ get();
void set(string^ );
}
Property Value
null - the path to the data directory will be determined in methods (CreateSessionDataStorage, ...) of VintaSoft web service;
not null - the path to the data directory for any VintaSoft web service.
Default value is null.
Remarks
If path points to a directory in the root directory of web application, no additional actions are necessary.
If path points to a directory outside the root directory of web application, the following additional actions are necessary:
- Specify that web image viewer should use base64-images for image tiles. This is necessary because web browser cannot access image tiles outside the root directory of web application.
Here is necessary JavaScript/TypeScript code: imageViewer1.set_TilesFormat("Base64"); - Specify that web thumbnail viewer should use base64-images for thumbnails. This is necessary because web browser cannot access thumbnails outside the root directory of web application.
Here is necessary JavaScript/TypeScript code: thumbnailViewer1.set_ThumbnailsFormat("Base64");
Requirements
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7, .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5
See Also