-
wcf 实现大文件上传(有进度条)实例源码
部分win7/win8用户 运行时报错 可能是 权限问题,所以运行项目的时候 要右键>>以管理员身份运行 部分用户 运行该项目的时候 可能提示:协定需要双工 但是绑定 NetTcpBinding 不支持 这是只需要将host项目app.config中协议部分 改为wsDualHttpBinding 即可,如下代码: 另外使用wcf时,最好不要使用 using 因为使用using会屏蔽掉很多错误,误导用户,参考链接:http://www.codeproject.com/Tips/197531/Do-not-use-using-for-WCF-Clients 相关代码改为:using System;using System.Collections.Generic;using System.Linq;using System.Windows.Forms;using System.ServiceModel;namespace WcfUploadServiceHost{ static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { try { var host = new ServiceHost(typeof (WcfUploadServiceLib.UpLoadService)); host.Open(); Console.WriteLine("Server is opened..."); Console.Read(); //using (var host = new ServiceHost(typeof(WcfUploadServiceLib.UpLoadService))) //{ // host.Open(); // Console.WriteLine("Server is opened..."); // Console.Read(); //} } catch (Exception ex) { Console.WriteLine(ex.ToString()); Console.Read(); } } }}
- 2015-01-07下载
- 积分:1
-
stability_parabolic_pulse
本程序使用的是快速分步傅里叶算法,可以检测光脉冲在非线性介质的传输过程中的稳定性(The program uses fast Fourier step algorithm that can detect light pulse stability in the transmission process in the nonlinear medium)
- 2014-10-07 18:34:45下载
- 积分:1
-
basic-calculation
基于C++的复数运算,定义了加减乘除取实部虚部,定义了2×2阶复数矩阵的乘法
内附详细注释(The basic calculation based on C++. Define basic calculation between complex number, including+,-,*,/.
Define the multipy between two 2*2 complex matrixes.)
- 2016-01-18 06:18:01下载
- 积分:1
-
OPC REDIS网关
OPC采集并把数据存储到REDIS,并把通过REDIS执行控制命令
- 2022-05-05 09:30:10下载
- 积分:1
-
AD7606测试成功
基于DSP28335的AD7606采样程序(AD7606 Sampling Program Based on DSP28335)
- 2021-03-16 20:29:21下载
- 积分:1
-
gif图片转换成jpg文件格式 实例源码
gif图片转换成jpg文件格式 实例源码
- 2013-05-22下载
- 积分:1
-
Visual C# 计算器实例程序
Visual C# 又一个适合学习的计算器实例程序,比较简单,只是实现基础的数学运算,没有高级功能,在此就不多介绍了,计算程序您可以在此搜索一下,C#类的计算器制作实例有很多哦。
- 2022-11-13 08:30:04下载
- 积分:1
-
NAV_APP
MCu based distance measurement from 20-80cm based on SHARP ir sensor
- 2013-12-27 01:24:58下载
- 积分:1
-
camera
c# 调用摄像头 包含图片截取函数 和timer实例(c# call camera containing pictures interception function and timer examples)
- 2010-07-20 04:25:27下载
- 积分:1
-
pt_line
固高控制卡程序,pt控制方式,需要的可以下载看看.(Googol control card program)
- 2013-12-01 21:58:24下载
- 积分:1