Search Results for

Show / Hide Table of Contents

# Class AjaxUploaderConfig

Static configuration for AjaxUploader, populated from `appSettings` and overridable at runtime. Supported keys include `AjaxUploader.TempDirectory`, `AjaxUploader.MaxFileSize`, `AjaxUploader.AllowedExtensions`, `AjaxUploader.ChunkSize`, `AjaxUploader.HandlerPath`, `AjaxUploader.EnableResume`, `AjaxUploader.TempFileExpiryMinutes`, `AjaxUploader.MaxFilesPerUpload`, and `AjaxUploader.LicenseFile`.

##### Inheritance

object
AjaxUploaderConfig

##### Inherited Members

object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

###### Namespace: AjaxUploader

###### Assembly: AjaxUploader.dll

##### Syntax

    public static class AjaxUploaderConfig

### Properties

#### AllowedExtensions

Gets or sets the global allow-list of file extensions.

##### Declaration

    public static string[] AllowedExtensions { get; set; }

##### Property Value

Type | Description
--- | ---
string[] |

#### ChunkSizeBytes

Gets or sets the default chunk size in bytes used when chunked uploads are enabled.

##### Declaration

    public static int ChunkSizeBytes { get; set; }

##### Property Value

Type | Description
--- | ---
int |

#### EnableResume

Gets or sets whether resumable upload support is enabled by default.

##### Declaration

    public static bool EnableResume { get; set; }

##### Property Value

Type | Description
--- | ---
bool |

#### HandlerPath

Gets or sets the virtual handler path used to serve resources and upload endpoints.

##### Declaration

    public static string HandlerPath { get; set; }

##### Property Value

Type | Description
--- | ---
string |

#### LicenseFile

Gets or sets an explicit path to the license file.

##### Declaration

    public static string LicenseFile { get; set; }

##### Property Value

Type | Description
--- | ---
string |

#### MaxFileSizeBytes

Gets or sets the maximum upload size in bytes applied by the server-side services.

##### Declaration

    public static long MaxFileSizeBytes { get; set; }

##### Property Value

Type | Description
--- | ---
long |

#### MaxFilesPerUpload

Gets or sets the global maximum number of files accepted by a single upload operation.

##### Declaration

    public static int MaxFilesPerUpload { get; set; }

##### Property Value

Type | Description
--- | ---
int |

#### ResolvedHandlerUrl

Gets the resolved handler URL (relative to app root).

##### Declaration

    public static string ResolvedHandlerUrl { get; }

##### Property Value

Type | Description
--- | ---
string |

#### ResolvedTempDirectory

Gets the resolved temp directory path. Falls back to ~/App_Data/UploaderTemp.

##### Declaration

    public static string ResolvedTempDirectory { get; }

##### Property Value

Type | Description
--- | ---
string |

#### TempDirectory

Gets or sets the temporary upload directory. Relative values are resolved from the site root.

##### Declaration

    public static string TempDirectory { get; set; }

##### Property Value

Type | Description
--- | ---
string |

#### TempFileExpiryMinutes

Gets or sets the age limit, in minutes, after which temporary upload files are eligible for cleanup.

##### Declaration

    public static int TempFileExpiryMinutes { get; set; }

##### Property Value

Type | Description
--- | ---
int |