摘 要: 针对在试题库建设中需要大数据量文件上传操作的特点,在研究WCF的框架和数据交互技术的基础上,设 计一个基于WCF流模式数据传输的文件上传程序,尤其在大数据量上传时,大大提高了文件上传的效率,并且在客户 端可以查看当前文件上传的进度。通过对WCF服务端和客户端的设计与配置,实现了基于WCF的文件上传功能。 |
关键词: WCF;文件上传;流模式;契约;Net.Tcp |
中图分类号: TP311.1
文献标识码: A
|
|
The Implementation of the File Uploading System Based on WCF |
ZHOU Hu
|
(Jiangsu Lianhe Technical Institute Xuzhou Branch of Finance, Xuzhou 221008, China)
|
Abstract: As a large amount of data needs to be uploaded in the construction process of the examination database system,based on the framework of WCF and data exchange technology,the paper designs a file uploading system based on the WCFstream mode.Especially when uploading a large amount of data,the system greatly improves the efficiency of file transfer,and the real-time uploading progress can be viewed from the client program.Through the design and configuration of the WCF server and client,the file uploading functions are implemented based on WCF. |
Keywords: WCF file uploading;stream mode;contract;Net.Tcp |