Existing Application Integration

Integrating Mediachase FileUploader.NET is easy. All components of Mediachase FileUploader.NET have been designed to minimize integration time into existing applications. It has been used through out our own projects and we can suggest two levels of integration.

Level 1 Integration

Allows turning on large file optimization and receiving progress information.

  1. Add reference to the Mediachase.FileUploader.dll
  2. Add Mediachase FileUploader.NET sections to web.config.
  3. Replace HtmlInputFile with McHtmlInputFile
  4. [Optional] Detect when the HtmlForm is submitted and show progress popup.

Note: If your project is large you can use the filters section to define which pages should be optimized.

Note: You can use the McHttpPostedFile class to get a real file stream from HttpPostedFile.

Level 2 Integration

Allows uploading files without requiring page reloading.

  1. Remove McHtmlInputFile control
  2. Add the following files to your project root: uploadembedded.aspx, uploadiframe.aspx, uploadpopup.aspx
  3. Add FileUploadControl, FileUploadProgress, FileUploadActions and UploadedFileList controls to the page and assign it.

Other Resources

Quick Developer Tutorial.

Copyright 2007 Mediachase. All rights reserved.