title: How do I get jQuery's Uploadify plugin to work with ASP.NET MVC?
body: <p>I'm in the process of trying to get the jQuery plugin, <a href="http://www.uploadify.com/" rel="noreferrer">Uploadify</a>, to work with ASP.NET MVC.</p>
  
  <p>I've got the plugin showing up fine with the following JavaScript snippet:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(document).ready(function() {
          $('#fileUpload').fileUpload({
              'uploader': '/Content/Flash/uploader.swf',
              'script': '/Placement/Upload',
              'folder': '/uploads',
              'multi': 'true',
              'buttonText': 'Browse',
              'displayData': 'speed',
              'simUploadLimit': 2,
              'cancelImg': '/Content/Images/cancel.png'
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>Which seems like all is well in good.  If you notice, the "script" attribute is set to my /Placement/Upload, which is my Placement Controller and my Upload Action.</p>
  
  <p>The main problem is, I'm having difficulty getting this action to fire to receive the file.  I've set a breakpoint on that action and when I select a file to upload, it isn't getting executed.</p>
  
  <p>I've tried changing the method signature based off <a href="http://donnyvblog.blogspot.com/2009/05/using-jquery-plugin-uploadify-with.html" rel="noreferrer">this article</a>: </p>
  
  <pre><code>public string Upload(HttpPostedFileBase FileData)
  {
      /*
      *
      * Do something with the FileData
      *
      */
      return "Upload OK!";
  }
  </code></pre>
  
  <p>But this still doesn't fire.</p>
  
  <p>Can anyone help me write and get the Upload controller action's signature correctly so it will actually fire?  I can then handle dealing with the file data myself.  I just need some help getting the method action to fire.</p>