ResumableUploadModule Class

IT Hit WebDAV for .NET

Enables non-cached upload of files to IIS/ASP.NET.

For a list of all members of this type, see ResumableUploadModule Members.

System.Object
   ITHit.WebDAV.Server.ResumableUpload.ResumableUploadModule

[Visual Basic]
Public Class ResumableUploadModule
    Implements IHttpModule
[C#]
public class ResumableUploadModule : IHttpModule

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Always use this module if you implement resumable upload features and your WebDAV server is hosted in IIS/ASP.NET. It is recommended to use this module even if you do not need any resumable upload fetures but host your server in IIS/ASP.NET.

Without this module when a file is being uploaded to server running as ASP.NET application in IIS the file will be first saved to temporary upload folder. Only when entire file is uploaded it becomes available for .NET user code. ResumableUploadModule eliminates this problem passing file content directly to Engine. This problem is specific to ASP.NET/IIS and you do not need this module when creating HttpListener-based server.

This module also processes file content submitted to server by thin client (AJAX WebDAV browsers and other) using POST verb.

Note: Always use Run overloaded method when utilizing this module.

Example

Example of configuration for IIS:

    <httpModules>
        <remove name="FileAuthorization"/>
        <add name="ResumableUploadModule" type="ITHit.WebDAV.Server.ResumableUpload.ResumableUploadModule, ITHit.WebDAV.Server" />
    </httpModules>

Requirements

Namespace: ITHit.WebDAV.Server.ResumableUpload

Assembly: ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll)

See Also

ResumableUploadModule Members | ITHit.WebDAV.Server.ResumableUpload Namespace