title: How to use the plupload package with ASP.NET MVC?
body: <p>I am using <a href="http://www.plupload.com/index.php" rel="noreferrer">plupload</a> version 1.3.0</p>
  
  <p>More specifically how I have to define my controller action to support chunking? Can I use the <code>HttpPosteFileBase</code> as a parameter?</p>
  
  <p>At the moment I am using the following code to initialize the plugin</p>
  
  <p>In the HEAD tag</p>
  
  <pre><code>&lt;link type="text/css" rel="Stylesheet" media="screen" href="&lt;%: Url.Content( "~/_assets/css/plupload/jquery.ui.plupload.css" )%&gt;" /&gt;
  &lt;link type="text/css" rel="Stylesheet" media="screen" href="&lt;%: Url.Content( "~/_assets/css/plupload/gsl.plupload.css" )%&gt;" /&gt;
  &lt;script type="text/javascript" src="&lt;%: Url.Content( "~/_assets/js/plupload/gears_init.js" )%&gt;"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="&lt;%: Url.Content( "~/_assets/js/plupload/plupload.full.min.js" )%&gt;"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="&lt;%: Url.Content( "~/_assets/js/plupload/jquery.ui.plupload.min.js" )%&gt;"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>On document ready</p>
  
  <pre><code>$("#uploader").pluploadQueue({
      runtimes: 'html5,html4,gears,flash,silverlight',
      url: '&lt;%: Url.Content( "~/Document/Upload" ) %&gt;',
      max_file_size: '5mb',
      chunk_size: '1mb',
      unique_names: true,
      filters: [
          { title: "Documenti e Immagini", extensions: "doc,docx,xls,xlsx,pdf,jpg,png" }
      ],
      multiple_queues: false
  });
  </code></pre>