ImageStoreUtility.GenerateApplicationPackageChecksumFiles Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates checksum files for all service package sub-directories (i.e. code/config/data packages) and service manifests found under the application package root directory.
public static void GenerateApplicationPackageChecksumFiles (string appPackageRootDirectory, System.Fabric.IImageStoreProgressHandler progressHandler, bool isImageStoreServiceEnabled = true);
static member GenerateApplicationPackageChecksumFiles : string * System.Fabric.IImageStoreProgressHandler * bool -> unit
Public Shared Sub GenerateApplicationPackageChecksumFiles (appPackageRootDirectory As String, progressHandler As IImageStoreProgressHandler, Optional isImageStoreServiceEnabled As Boolean = true)
Parameters
- appPackageRootDirectory
- String
The application package root directory.
- progressHandler
- IImageStoreProgressHandler
An optional handler for tracking progress of the checksum generation.
- isImageStoreServiceEnabled
- Boolean
Should be set to true if the cluster's ImageStoreConnectionString is set to "fabric:ImageStore", false otherwise.
Remarks
The cluster will automatically generate checksums during application type registration if they're not already part of the application package. This method can be used to incur the cost of checksum file generation while preparing the application package, which will reduce the cost of registering the application type package for large packages.
Applies to
Azure SDK for .NET