在Web API中使用jQuery AJAX实现文件上传的例子.zip
下载
文件 AJAX 例子
查看(51)

所属分类:开发技术 > C#
文件大小:3.81 MB
上传日期:2019/4/4 18:34:29
MD5:fdf77f9364************4a65b6f170
资源说明:在Web API中使用jQuery AJAX实现文件上传的例子,传统的form表单提交会导致页面刷新,但是在有些情况下,我们不希望页面被刷新,这种时候我们都是使用Ajax的方式进行请求,将文件post后台api接口上传到服务器,后端开发者可以借鉴学习。
移动页面: MIP AMP

[资源合计] 文件夹:28,文件:45

# 文件名称 大小 最后修改时间
1 TestFileUpload\packages 0 Bytes 2014/8/28 23:18:10
2 TestFileUpload\packages\Microsoft.AspNet.WebApi.5.2.2 0 Bytes 2014/8/28 23:18:02
3 TestFileUpload\packages\Microsoft.AspNet.WebApi.5.2.2\Microsoft.AspNet.WebApi.5.2.2.nupkg 3.1 KB 2014/8/28 23:18:02
4 TestFileUpload\packages\Microsoft.AspNet.WebApi.Client.5.2.2 0 Bytes 2014/8/28 23:18:02
5 TestFileUpload\packages\Microsoft.AspNet.WebApi.Client.5.2.2\lib 0 Bytes 2014/8/28 23:18:02
6 TestFileUpload\packages\Microsoft.AspNet.WebApi.Client.5.2.2\lib\net45 0 Bytes 2014/8/28 23:18:02
7 TestFileUpload\packages\Microsoft.AspNet.WebApi.Client.5.2.2\lib\net45\System.Net.Http.Formatting.dll 180.7 KB 2014/8/28 23:18:02
8 TestFileUpload\packages\Microsoft.AspNet.WebApi.Client.5.2.2\lib\net45\System.Net.Http.Formatting.xml 188.11 KB 2014/8/28 23:18:02
9 TestFileUpload\packages\Microsoft.AspNet.WebApi.Client.5.2.2\lib\portable-wp8+netcore45+net45+wp81+wpa81 0 Bytes 2014/8/28 23:18:02
10 TestFileUpload\packages\Microsoft.AspNet.WebApi.Client.5.2.2\lib\portable-wp8+netcore45+net45+wp81+wpa81\System.Net.Http.Formatting.dll 147.2 KB 2014/8/28 23:18:02
11 TestFileUpload\packages\Microsoft.AspNet.WebApi.Client.5.2.2\lib\portable-wp8+netcore45+net45+wp81+wpa81\System.Net.Http.Formatting.xml 273.39 KB 2014/8/28 23:18:02
12 TestFileUpload\packages\Microsoft.AspNet.WebApi.Client.5.2.2\Microsoft.AspNet.WebApi.Client.5.2.2.nupkg 184.21 KB 2014/8/28 23:18:02
13 TestFileUpload\packages\Microsoft.AspNet.WebApi.Core.5.2.2 0 Bytes 2014/8/28 23:18:02
14 TestFileUpload\packages\Microsoft.AspNet.WebApi.Core.5.2.2\Content 0 Bytes 2014/8/28 23:18:02
15 TestFileUpload\packages\Microsoft.AspNet.WebApi.Core.5.2.2\Content\web.config.transform 485 Bytes 2014/8/28 23:18:02
16 TestFileUpload\packages\Microsoft.AspNet.WebApi.Core.5.2.2\lib 0 Bytes 2014/8/28 23:18:02
17 TestFileUpload\packages\Microsoft.AspNet.WebApi.Core.5.2.2\lib\net45 0 Bytes 2014/8/28 23:18:02
18 TestFileUpload\packages\Microsoft.AspNet.WebApi.Core.5.2.2\lib\net45\System.Web.Http.dll 460.2 KB 2014/8/28 23:18:02
19 TestFileUpload\packages\Microsoft.AspNet.WebApi.Core.5.2.2\lib\net45\System.Web.Http.xml 527.01 KB 2014/8/28 23:18:02
20 TestFileUpload\packages\Microsoft.AspNet.WebApi.Core.5.2.2\Microsoft.AspNet.WebApi.Core.5.2.2.nupkg 233.77 KB 2014/8/28 23:18:02
21 TestFileUpload\packages\Microsoft.AspNet.WebApi.WebHost.5.2.2 0 Bytes 2014/8/28 23:18:02
22 TestFileUpload\packages\Microsoft.AspNet.WebApi.WebHost.5.2.2\lib 0 Bytes 2014/8/28 23:18:02
23 TestFileUpload\packages\Microsoft.AspNet.WebApi.WebHost.5.2.2\lib\net45 0 Bytes 2014/8/28 23:18:02
24 TestFileUpload\packages\Microsoft.AspNet.WebApi.WebHost.5.2.2\lib\net45\System.Web.Http.WebHost.dll 80.2 KB 2014/8/28 23:18:02
25 TestFileUpload\packages\Microsoft.AspNet.WebApi.WebHost.5.2.2\lib\net45\System.Web.Http.WebHost.xml 10.12 KB 2014/8/28 23:18:02
26 TestFileUpload\packages\Microsoft.AspNet.WebApi.WebHost.5.2.2\Microsoft.AspNet.WebApi.WebHost.5.2.2.nupkg 41.99 KB 2014/8/28 23:18:02
27 TestFileUpload\packages\Newtonsoft.Json.6.0.4 0 Bytes 2014/8/28 23:18:02
28 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib 0 Bytes 2014/8/28 23:18:02
29 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\net20 0 Bytes 2014/8/28 23:18:02
30 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\net20\Newtonsoft.Json.dll 481.5 KB 2014/8/28 23:18:02
31 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\net20\Newtonsoft.Json.xml 503.94 KB 2014/8/28 23:18:02
32 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\net35 0 Bytes 2014/8/28 23:18:02
33 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\net35\Newtonsoft.Json.dll 420 KB 2014/8/28 23:18:02
34 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\net35\Newtonsoft.Json.xml 449.03 KB 2014/8/28 23:18:02
35 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\net40 0 Bytes 2014/8/28 23:18:02
36 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\net40\Newtonsoft.Json.dll 481.5 KB 2014/8/28 23:18:02
37 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\net40\Newtonsoft.Json.xml 467.51 KB 2014/8/28 23:18:02
38 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\net45 0 Bytes 2014/8/28 23:18:02
39 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll 490.5 KB 2014/8/28 23:18:02
40 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.xml 467.51 KB 2014/8/28 23:18:02
41 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\netcore45 0 Bytes 2014/8/28 23:18:02
42 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\netcore45\Newtonsoft.Json.dll 436.5 KB 2014/8/28 23:18:02
43 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\netcore45\Newtonsoft.Json.xml 438.02 KB 2014/8/28 23:18:02
44 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\portable-net40+sl5+wp80+win8+wpa81 0 Bytes 2014/8/28 23:18:02
45 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\portable-net40+sl5+wp80+win8+wpa81\Newtonsoft.Json.dll 378 KB 2014/8/28 23:18:02
46 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\portable-net40+sl5+wp80+win8+wpa81\Newtonsoft.Json.xml 415.61 KB 2014/8/28 23:18:02
47 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\portable-net45+wp80+win8+wpa81 0 Bytes 2014/8/28 23:18:02
48 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\portable-net45+wp80+win8+wpa81\Newtonsoft.Json.dll 434.5 KB 2014/8/28 23:18:02
49 TestFileUpload\packages\Newtonsoft.Json.6.0.4\lib\portable-net45+wp80+win8+wpa81\Newtonsoft.Json.xml 438.04 KB 2014/8/28 23:18:02
50 TestFileUpload\packages\Newtonsoft.Json.6.0.4\Newtonsoft.Json.6.0.4.nupkg 1.44 MB 2014/8/28 23:18:02
51 TestFileUpload\packages\Newtonsoft.Json.6.0.4\tools 0 Bytes 2014/8/28 23:18:02
52 TestFileUpload\packages\Newtonsoft.Json.6.0.4\tools\install.ps1 3.15 KB 2014/8/28 23:18:02
53 TestFileUpload\packages\repositories.config 133 Bytes 2014/8/28 23:18:10
54 TestFileUpload\TestFileUpload.sln 1011 Bytes 2014/8/28 23:06:42
55 TestFileUpload\TestFileUpload.v12.suo 48 KB 2014/8/29 22:30:46
56 TestFileUpload\TestFileUpload 0 Bytes 2014/8/31 6:01:26
57 TestFileUpload\TestFileUpload\bin 0 Bytes 2014/8/31 6:02:34
58 TestFileUpload\TestFileUpload\FileUploadController.cs 1.64 KB 2014/8/31 6:00:40
59 TestFileUpload\TestFileUpload\FileUploadTest.aspx 2.1 KB 2014/8/31 6:01:26
60 TestFileUpload\TestFileUpload\FileUploadTest.aspx.cs 342 Bytes 2014/8/28 23:09:08
61 TestFileUpload\TestFileUpload\FileUploadTest.aspx.designer.cs 776 Bytes 2014/8/28 23:09:08
62 TestFileUpload\TestFileUpload\Global.asax 98 Bytes 2014/8/28 23:07:58
63 TestFileUpload\TestFileUpload\Global.asax.cs 1.18 KB 2014/8/29 22:28:06
64 TestFileUpload\TestFileUpload\obj 0 Bytes 2014/8/31 6:02:40
65 TestFileUpload\TestFileUpload\packages.config 498 Bytes 2014/8/28 23:18:16
66 TestFileUpload\TestFileUpload\Properties 0 Bytes 2014/8/28 23:06:32
67 TestFileUpload\TestFileUpload\Properties\AssemblyInfo.cs 1.37 KB 2014/8/28 23:06:32
68 TestFileUpload\TestFileUpload\TestFileUpload.csproj 6.65 KB 2014/8/28 23:19:50
69 TestFileUpload\TestFileUpload\TestFileUpload.csproj.user 1.07 KB 2014/8/28 23:24:28
70 TestFileUpload\TestFileUpload\UploadedFiles 0 Bytes 2014/8/31 6:02:06
71 TestFileUpload\TestFileUpload\Web.config 756 Bytes 2014/8/28 23:18:16
72 TestFileUpload\TestFileUpload\Web.Debug.config 1.27 KB 2014/8/28 23:06:40
73 TestFileUpload\TestFileUpload\Web.Release.config 1.33 KB 2014/8/28 23:06:40

请留下有营养的评论,广告灌水一律拉黑处理,谢谢合作!