wcf实现服务端主动向客户端推送消息

上传者: liaoyungchun | 上传时间: 2021-04-14 02:19:39 | 文件大小: 143KB | 文件类型: RAR
只为实现技术,没有任何多余代码,非常适合学习。 服务端点start启动后标题变为server opeded 客户端点connect连接服务端,连接后服务端文本框中显示hello,9527 服务端点say,客户端会显示收到的消息hello,9527

文件下载

资源详情

[{"title":"( 97 个子文件 143KB ) wcf实现服务端主动向客户端推送消息","children":[{"title":"wcf_server2client","children":[{"title":"WcfServiceLibrary1.suo <span style='color:#111;'> 42.50KB </span>","children":null,"spread":false},{"title":"Client","children":[{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"Client.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication2.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication2.exe <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false},{"title":"Client.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"Client.vshost.exe.config <span style='color:#111;'> 778B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication2.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication2.vshost.exe.config <span style='color:#111;'> 718B </span>","children":null,"spread":false},{"title":"Client.vshost.exe <span style='color:#111;'> 11.33KB </span>","children":null,"spread":false},{"title":"Client.exe.config <span style='color:#111;'> 778B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication2.exe.config <span style='color:#111;'> 718B </span>","children":null,"spread":false},{"title":"Client.exe <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"ClientForm.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"ClientForm.cs <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 492B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"WindowsFormsApplication2.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication2.csproj.FileListAbsolute.txt <span style='color:#111;'> 916B </span>","children":null,"spread":false},{"title":"Client.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false},{"title":"Client.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication2.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication2.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication2.exe <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication2.csproj.GenerateResource.Cache <span style='color:#111;'> 975B </span>","children":null,"spread":false},{"title":"Client.csproj.GenerateResource.Cache <span style='color:#111;'> 980B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.87KB </span>","children":null,"spread":false},{"title":"Client.ClientForm.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Service References.Service.Reference.cs.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"Service References.ServiceReference1.Reference.cs.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"Client.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Client.exe <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"ClientForm.Designer.cs <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 778B </span>","children":null,"spread":false},{"title":"Service References","children":[{"title":"Service","children":[{"title":"Reference.cs <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false},{"title":"Reference.svcmap <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"Test1.xsd <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"Test.xsd <span style='color:#111;'> 745B </span>","children":null,"spread":false},{"title":"configuration91.svcinfo <span style='color:#111;'> 20.05KB </span>","children":null,"spread":false},{"title":"Service1.wsdl <span style='color:#111;'> 4.58KB </span>","children":null,"spread":false},{"title":"configuration.svcinfo <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"Test.disco <span style='color:#111;'> 345B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Client.csproj <span style='color:#111;'> 4.93KB </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;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"wcf_server2client.suo <span style='color:#111;'> 30.00KB </span>","children":null,"spread":false},{"title":"Server","children":[{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"Server.vshost.exe.config <span style='color:#111;'> 926B </span>","children":null,"spread":false},{"title":"Server.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"Server.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.vshost.exe.config <span style='color:#111;'> 926B </span>","children":null,"spread":false},{"title":"Server.vshost.exe <span style='color:#111;'> 11.33KB </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"Server.exe <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false},{"title":"Server.exe.config <span style='color:#111;'> 926B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ServerForm.Designer.cs <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 492B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"Server.ServerForm.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.csprojResolveAssemblyReference.cache <span style='color:#111;'> 6.18KB </span>","children":null,"spread":false},{"title":"Server.csprojResolveAssemblyReference.cache <span style='color:#111;'> 7.63KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Server.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"Server.csproj.GenerateResource.Cache <span style='color:#111;'> 980B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.22KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false},{"title":"Server.exe <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"WindowsFormsApplication1.csproj.GenerateResource.Cache <span style='color:#111;'> 975B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Server.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Server.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"ServerForm.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 926B </span>","children":null,"spread":false},{"title":"Server.csproj <span style='color:#111;'> 4.01KB </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;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false}],"spread":true},{"title":"ServerForm.cs <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"wcf_server2client.sln <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1","children":[{"title":"IService1.cs <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"WcfServiceLibrary1.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 5.69KB </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1.csproj.FileListAbsolute.txt <span style='color:#111;'> 724B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Service1.cs <span style='color:#111;'> 754B </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1.csproj.user <span style='color:#111;'> 589B </span>","children":null,"spread":false},{"title":"WcfServiceLibrary1.csproj <span style='color:#111;'> 2.84KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • 纨纨 :
    写的太潦草,没啥用
    2020-04-15
  • 爬向天堂 :
    不错,感谢分享
    2018-12-10
  • happyappe :
    我下的是空的。
    2018-05-04
  • 洞房不敗 :
    还不错,适合学习
    2018-04-09
  • 一本正经道 :
    谢谢分享~~~
    2017-12-15
  • ttsffgg :
    很不错, 直接了当的演示了最基本的wcf用法,关键点都明确的展示出来了!
    2017-12-05
  • Ival :
    东西不错,很有参考价值
    2017-07-12
  • 亦落 :
    还不错,适合学习
    2017-07-12
  • zxx200857 :
    最近正在学习WCF推送服务,看了很好,谢谢楼主
    2017-05-11
  • lingsky0000 :
    简单易懂,非常有帮助
    2017-03-07

免责申明

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