I want to implement asynchronous file download for my asp.net application. My idea is to serialize the file on the client side of JSON and call the web service to restore the file server side. My question is:
How to read a file as binary and serialize it in JSON? The solution cannot require the use of Google Gears or the “mandatory installation” of client technologies. Thank!
Use iframe to hide the file upload process. You do not want to process the data in JavaScript, as it will be very slow. All you have to do is manage user interactions.
: http://www.webtoolkit.info/ajax-file-upload.html
Javascript, , , - Flash ActiveX.
Javascript, .
, , , , - - %USERPROFILE%\ntuser.dat.
%USERPROFILE%\ntuser.dat
AJAX, IFRAME; . .
IFRAME
, JSON . , , . . (iframes).
, . , , - javascript ( ), , , ( asynch uploads ..).
, , .
,
Source: https://habr.com/ru/post/1728228/More articles:C # => JAVA: populating a static ArrayList on declaration. Possible? - javaLimitations and the future of HTML + JavaScript for web applications - javascriptUpdate wx.gauge without while loop - pythonhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1728226/change-coldfusion-tags-to-leverage-cdn-hosted-javascript-libraries&usg=ALkJrhja_XtD80l_d-u0pBMYebgA8F2h3QPassing PHP arguments in NetBeans to a page with symfony url function - phpiPhone SearchBar with buttons below? - iphoneHow to get Ajax.Net PageMethod to return JSON - jsongit - How to undo "git repack -ad"? - gitGhostscript font replacement - fontsDrag'n'drop files from (for example, iPhone) in Windows Explorer to a WPF application - c #All Articles