Giter Club home page Giter Club logo

bluimp-jquery-file-upload-with-mvc4-and-webapi's Introduction

bluimp-jquery-file-upload-with-mvc4-and-webapi

This is an implementation of BluImp's jQuery FileUpload widget. This is my first attempt at using Git and was slightly nervous about forking so I've created this repo for the time being until I'm more familiar with Git.

The original BluImp version is here https://github.com/blueimp/jQuery-File-Upload

I've additionally made extensive use of Max Pavlovs MVC3 & HttpHandler code within the WebAPI controller that version can be found here https://github.com/maxpavlov/jQuery-File-Upload.MVC3

By using this you are bound by the T&C's and licenses on the aforementioned projects and pages.

Huge thanks to the BluImp Team and Max Pavlov who really did all the heavy lifting.

This implementation uses a single WebAPI controller to manage the server-side aspects of the code and is a fairly rough cut version which I tested in the latest Firefox, Chrome version and in IE9. Anything else is anyone's guess!

Please feel free to leave me some feedback via Twitter here https://twitter.com/bUKaneer I hope you find this useful and it saves you some time!

Main Changes from Max Pavlovs' Implementation:

ClientDependancy 3rd party javascript/css minification removed and replaced with native Bundling where appropriate.

HttpHandler code ported into a basic WebAPI controller with new Thumbnail generation code.

Newer versions of jQuery File Upload script files used.

Newer version of jQuery used - now version 1.9.1 (I think!).

Other (potential) points of Interest:

This implementation was created using Visual Studio 2012 using an Empty ASP.NET MVC 4 project type to ensure only the absolute basics were needed to get it working and reduce and confusion or bloat.

bluimp-jquery-file-upload-with-mvc4-and-webapi's People

Contributors

bukaneer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bluimp-jquery-file-upload-with-mvc4-and-webapi's Issues

How to add another step before upload.

Hi,
Thanks for your project. I have one question. I need to add an additional step before upload. Another button to Verify some specific characteristics of the file.
I was checking the code and I cannot understand how to achieve this.

<button id="beginUploadControlStart" type="submit" class="btn btn-primary start">
                                    <i class="glyphicon glyphicon-upload"></i>
                                    <span>Start upload</span>
                                </button>

I know this button trigger the upload process and at the end call the upload function in the controller.

However, how is the js calls arranged in the controls.
I think initially calls the main function in main.js and then calls jquery.fileupload.js, but that are really some guess.
Could you please guide me, how can achieve this.

Kind regards,

Juan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.