文件名称:HttpMultipart
-
所属分类:
- 标签属性:
- 上传时间:2013-11-26
-
文件大小:18.43kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
WCF 是微软力推的通讯框架,它能够以 ASP.NET WebService 的方式实现 RESTful 方式的服务。但是缺陷是目前的版本不支持对 HTTP multipart 格式的自动解析。而不像传统的 ASP.NET WebService 可以自动解析 multipart 中的多媒体数据,并通过访问 Context.Request.Form["name"] 和 Context.Request.Files["name"] 方便地访问。
这份代码在 HttpMultipartFormDataParser (https://github.com/Vodurden/Http-Multipart-Data-Parser) 的基础上,解决了中文乱码的问题。希望给和我一样曾经被这个问题困扰的朋友一些帮助。
关于代码的使用方式,请参见 Vodurden 在 GitHub 上的说明。-WCF is Microsoft pushing the communications framework that can be achieved with ASP.NET WebService RESTful manner of service. But the drawback is that the current version does not support HTTP multipart format automatically resolve. And unlike traditional ASP.NET WebService can automatically parse multipart multimedia data, and through access Context.Request.Form [" name" ] and Context.Request.Files [" name" ] easy access. This code is based on HttpMultipartFormDataParser (https://github.com/Vodurden/Http-Multipart-Data-Parser) on to solve the problem of Chinese garbled. And I do want to give this issue had been troubled friend some help. On the use of code, see Vodurden on GitHub instructions.
这份代码在 HttpMultipartFormDataParser (https://github.com/Vodurden/Http-Multipart-Data-Parser) 的基础上,解决了中文乱码的问题。希望给和我一样曾经被这个问题困扰的朋友一些帮助。
关于代码的使用方式,请参见 Vodurden 在 GitHub 上的说明。-WCF is Microsoft pushing the communications framework that can be achieved with ASP.NET WebService RESTful manner of service. But the drawback is that the current version does not support HTTP multipart format automatically resolve. And unlike traditional ASP.NET WebService can automatically parse multipart multimedia data, and through access Context.Request.Form [" name" ] and Context.Request.Files [" name" ] easy access. This code is based on HttpMultipartFormDataParser (https://github.com/Vodurden/Http-Multipart-Data-Parser) on to solve the problem of Chinese garbled. And I do want to give this issue had been troubled friend some help. On the use of code, see Vodurden on GitHub instructions.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
BinaryStreamStack.cs
FilePart.cs
MultipartParseException.cs
MultipartParser.cs
ParameterPart.cs
RebufferableBinaryReader.cs
SubsequenceFinder.cs
FilePart.cs
MultipartParseException.cs
MultipartParser.cs
ParameterPart.cs
RebufferableBinaryReader.cs
SubsequenceFinder.cs
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.