file upload to wcf using jquery

2019-03-01 09:42发布

问题:

I have a page where there is a file upload control. I want to send the contents of this file upload control to a WCF service using jquery ( without posting the form ), is that possible?

回答1:

Yes it's possible. I use jQuery file uploader which is a script that automates a lot of it and also adds nice features like the ability to stop a download if the browser supports it.

Examples there should help you get started.