VintaSoft Imaging .NET SDK 15.2: Documentation for Web developer
Vintasoft.Imaging.Web.Services Namespace / WebServicesGlobalSettings Class / DataDirectoryDefaultPath Property
Syntax Remarks Requirements SeeAlso
In This Topic
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; }

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 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5

See Also