C#WCF和TCP消息通信练习.zip

上传者: 44223180 | 上传时间: 2021-05-24 20:47:38 | 文件大小: 116KB | 文件类型: ZIP
在同1个方案中,分别编写服务端程序和客户端程序,利用tcp实现简单的群聊功能。1.服务端程序选择WCF,客户端程序选择WPF。2.客户端与服务端连接成功后,通过服务端获取已在线的用户,并将其显示在客户端的在线用户栏。3.不论哪个用户发送聊天消息,其他所有用户都能看到该消息。4.当某个用户推出后,在线用户列表中自动移除该用户。

文件下载

资源详情

[{"title":"( 67 个子文件 116KB ) C#WCF和TCP消息通信练习.zip","children":[{"title":"C#WCF和TCP消息通信练习","children":[{"title":".vs","children":[{"title":"Lab_5","children":[{"title":"v16","children":[{"title":".suo <span style='color:#111;'> 112.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"Lab_5","children":[{"title":"Lab_5.csproj <span style='color:#111;'> 5.63KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"Lab_5.exe.config <span style='color:#111;'> 969B </span>","children":null,"spread":false},{"title":"Lab_5.exe <span style='color:#111;'> 16.50KB </span>","children":null,"spread":false},{"title":"Lab_5.pdb <span style='color:#111;'> 63.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"App.xaml <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"App.g.i.cs <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"Lab_5.g.resources <span style='color:#111;'> 4.12KB </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"Lab_5.exe <span style='color:#111;'> 16.50KB </span>","children":null,"spread":false},{"title":"Lab_5_MarkupCompile.i.cache <span style='color:#111;'> 461B </span>","children":null,"spread":false},{"title":"Lab_5.csprojAssemblyReference.cache <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"Lab_5.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Lab_5.csproj.GenerateResource.cache <span style='color:#111;'> 954B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 9.12KB </span>","children":null,"spread":false},{"title":"ChatCline.baml <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false},{"title":"MainWindow.g.cs <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"Lab_5_MarkupCompile.cache <span style='color:#111;'> 460B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"ChatCline.g.i.cs <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":"Lab_5.csproj.FileListAbsolute.txt <span style='color:#111;'> 3.84KB </span>","children":null,"spread":false},{"title":"Lab_5.pdb <span style='color:#111;'> 63.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"Connected Services.ServiceReference1.Reference.cs.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"Lab_5_MarkupCompile.lref <span style='color:#111;'> 336B </span>","children":null,"spread":false},{"title":"ChatCline.g.cs <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":"Lab_5.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"MainWindow.g.i.cs <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"MainWindow.baml <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Connected Services","children":[{"title":"ServiceReference1","children":[{"title":"Reference.cs <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false},{"title":"Reference.svcmap <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"service.xsd <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"configuration91.svcinfo <span style='color:#111;'> 20.39KB </span>","children":null,"spread":false},{"title":"configuration.svcinfo <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"IService.xsd <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"IService.wsdl <span style='color:#111;'> 3.33KB </span>","children":null,"spread":false},{"title":"service.wsdl <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"App.xaml.cs <span style='color:#111;'> 332B </span>","children":null,"spread":false},{"title":"ChatCline.xaml.cs <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false},{"title":"ChatCline.xaml <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 969B </span>","children":null,"spread":false},{"title":"MainWindow.xaml <span style='color:#111;'> 842B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false}],"spread":true},{"title":"MainWindow.xaml.cs <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false}],"spread":false},{"title":"WcfServiceLibrary1","children":[{"title":"IService1.cs <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"WcfServiceLibrary1.dll.config <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1.pdb <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1.dll <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Users.cs <span style='color:#111;'> 461B </span>","children":null,"spread":false},{"title":"CC.cs <span style='color:#111;'> 676B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"WcfServiceLibrary1.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.58KB </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1.pdb <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1.dll <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1.csprojAssemblyReference.cache <span style='color:#111;'> 11.23KB </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"WcfConfigValidationData.tmp <span style='color:#111;'> 436B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Service1.cs <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1.csproj.user <span style='color:#111;'> 593B </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1.csproj <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Lab_5.sln <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明