文件名称:HttpMultipart
- 所属分类:
- 通讯编程
- 资源属性:
- [Windows] [Visual.Net] [Basic/ASP] [源码]
- 上传时间:
- 2013-11-26
- 文件大小:
- 18kb
- 下载次数:
- 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 fr a mework 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 fr a mework 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