AjaxUploader
Search Results for

    Show / Hide Table of Contents

    Interface IAzureSigner

    Bridges AjaxUploader to an Azure Blob Storage upload session using a pre-signed blob SAS URL. The browser uses the SAS to PutBlock and PutBlockList directly; the server only signs and records metadata. The core library takes no Azure SDK dependency - host apps plug in their own signer by setting Signer.

    Namespace: AjaxUploader.Providers
    Assembly: AjaxUploader.dll
    Syntax
    public interface IAzureSigner

    Methods

    AbortUpload(AzureAbortRequest)

    Aborts an in-progress upload. Implementations typically delete the incomplete blob.

    Declaration
    void AbortUpload(AzureAbortRequest request)
    Parameters
    Type Name Description
    AzureAbortRequest request

    CompleteUpload(AzureCompleteRequest)

    Records the completed upload (after the browser has committed the block list) and returns metadata that maps to AjaxUploader's standard UploadResult shape.

    Declaration
    AzureCompleteResult CompleteUpload(AzureCompleteRequest request)
    Parameters
    Type Name Description
    AzureCompleteRequest request
    Returns
    Type Description
    AzureCompleteResult

    CreateUpload(AzureCreateRequest)

    Creates a new blob upload session. Returns an internal uploadId, the blob URL with a write SAS token attached, and a prefix used to derive unique block IDs.

    Declaration
    AzureCreateResult CreateUpload(AzureCreateRequest request)
    Parameters
    Type Name Description
    AzureCreateRequest request
    Returns
    Type Description
    AzureCreateResult
    In this article
    Back to top AjaxUploader API Reference