-
mailtoServer123
mail to server mail to server mail to server mail to server mail to server mail to server (mail to server mail to server mail to server mail to server mail to server )
- 2016-09-19 21:40:57下载
- 积分:1
-
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
-
row socket 网络监听
row socket 网络监听
- 2014-04-15下载
- 积分:1
-
testnet
raw socket编程,探测网络包。
vc++, win2000测试通过。(raw socket programming, detect network packets. vc++, win2000 test passed.)
- 2012-11-28 16:31:24下载
- 积分:1
-
xemberwise
CSR蓝牙MP3播放USB DONGLE源码,支持蓝牙A2DP协议,实现无MP3播放功能()
- 2018-07-08 06:01:42下载
- 积分:1
-
VC_Net
Visual C++ 网络编程精选实例。TCP/IP,串口网络通信。配书光盘。(Visual C++ network programming selected examples. TCP/IP, serial network communications. CD-ROM with the book.)
- 2020-11-22 14:29:36下载
- 积分:1
-
INNETER-IC
网络重传选择协议,可以检查传输信息的正确性。通过接受方的校检,通知发送方重新发送。
(
Network retransmission protocol, you can check the correctness of the transmission of information. By accepting the prosecution s school to notify the sender to resend.)
- 2015-10-14 09:19:13下载
- 积分:1
-
WCF四种常用应用场景实例下载
使用注意:建立demo数据库,使用aspnet_regsql.exe建立Memmbership一些安全场景需要证书,使用CertTool的工具生成具体的授权时的角色和用户名字参考HostSvc、Client代码修改成测试用的后才能正常运行 一、目录结构Common来自于Programming WCF Services[ISBN: 978-0-596-80548-7],实现WCF的声明式安全HostSvc:不同场景的接口和服务实现,命令行承载服务MembershipAdmin:用于操作demo数据库membership的成员操作,Asp.net Configuraion 可添加角色和用户,并使用IIS服务承载HostSvc实现的服务Client: 使用各种服务的客户端场景 二、四种场景的区别:Intranet Transport保护 使用tcp绑定 windows集成的安全 Internet 只能使用Message形式的保护,需要数字证书 tcp wsHttp绑定 使用Membership进行安全认证 Anoymous 使用Message形式的保护,需要数字证书 tcp wsHttp绑定 None 消息不保护 http tcp wsHttp绑定 三、App-comment.config: 包含对于各种配置的说明 四、证书的生成:CertToolSetupCerts.bat生成,命令行工具从VS SDK已经拷贝过来 五、IIS中承载服务的注意: 需要把WCFServer赋予IIS的账号以权限 受信任人中加入WCFServer证书 六、证书如何管理:1、命令行启动mmc2、“添加、删除管理单元"加入"证书", 按照提示选择当前用户或本机3、此时即可管理IIS的权限操作: 在"个人/证书"下找到WCFServer,"更多操作/所有任务/管理私钥",弹出界面设置用户权限受信任人: 在"个人/证书"下找到WCFServer,导出证书,然后在”受信息人/证书“下导入以上证书即可 七、远程机器客户端的证书问题 导出WCFServer【不要私钥】 然后在远程客户端机器上导入即可,此时的公钥可以用于消息的验证 八、IIS中承载MembershipAdmin中加入了对应的四个.svc文件【逻辑使用的一个HostSvc中的实现】以提供WCF服务,具体配置和HostSvc一致,当然地址不一样了此例是把MembershipAdmin作为应程序发布到80端口的demo下 注意:1、需要设置IIS的http和net.tcp协议支持2、数据库demo需要能被IIS账号访问3、WCFServer证书需要能被IIS账号访问
- 2021-03-03 08:29:33下载
- 积分:1
-
49525823chap04Telnet
Visual C++ .NET 网络与通信高级编程范例配套代码(Visual C++. NET network and high-level programming paradigm supporting code)
- 2014-02-20 23:05:14下载
- 积分:1
-
TransServer
vc——服务器TransServer的程序源码,值得一看!(vc- server TransServer the program source code, worth a visit!)
- 2011-08-23 22:51:08下载
- 积分:1