C#网络应用编程第三版马骏主编上机练习A4_WCF和HTTP文件传输练习

上传者: 31489463 | 上传时间: 2019-12-21 20:39:51 | 文件大小: 131KB | 文件类型: zip
在同一个解决方案中,分别编写服务端程序和客户端程序,利用HTTP和流传输实现下载功能,具体要求如下:(1)服务端程序选择【WCF应用程序】模板,客户端程序选择【WPF应用程序】模板(2)客户端运行时,先通过WCF服务获取可供下载的文件名文件长度并将其显示出来,当用户选择要下载的列表项后,单击【开始下载】按钮实现下载功能。

文件下载

资源详情

[{"title":"( 74 个子文件 131KB ) C#网络应用编程第三版马骏主编上机练习A4_WCF和HTTP文件传输练习","children":[{"title":"使用说明.txt <span style='color:#111;'> 184B </span>","children":null,"spread":false},{"title":"images","children":[{"title":"2.jpg <span style='color:#111;'> 6.37KB </span>","children":null,"spread":false},{"title":"1.jpg <span style='color:#111;'> 8.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"FileDownload","children":[{"title":"FileDownload.v11.suo <span style='color:#111;'> 20.00KB </span>","children":null,"spread":false},{"title":"FileDownload.sln <span style='color:#111;'> 1005B </span>","children":null,"spread":false},{"title":"FileDownload","children":[{"title":"App.xaml.cs <span style='color:#111;'> 339B </span>","children":null,"spread":false},{"title":"MainWindow.xaml.cs <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false},{"title":"Service References","children":[{"title":"ServiceReference1","children":[{"title":"Service11.xsd <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"Service1.xsd <span style='color:#111;'> 348B </span>","children":null,"spread":false},{"title":"Reference.cs <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"Service1.wsdl <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false},{"title":"Reference.svcmap <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"Service1.disco <span style='color:#111;'> 361B </span>","children":null,"spread":false},{"title":"Service12.xsd <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"configuration91.svcinfo <span style='color:#111;'> 19.32KB </span>","children":null,"spread":false},{"title":"configuration.svcinfo <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"MainWindow.xaml <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"App.config <span style='color:#111;'> 703B </span>","children":null,"spread":false},{"title":"App.xaml <span style='color:#111;'> 323B </span>","children":null,"spread":false},{"title":"FileDownload.csproj <span style='color:#111;'> 5.84KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"FileDownload.csproj.GenerateResource.Cache <span style='color:#111;'> 919B </span>","children":null,"spread":false},{"title":"FileDownload.csproj.FileListAbsolute.txt <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"FileDownload.pdb <span style='color:#111;'> 43.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},{"title":"Service References.ServiceReference1.Reference.cs.dll <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"FileDownload.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"FileDownload.exe <span style='color:#111;'> 13.00KB </span>","children":null,"spread":false},{"title":"MainWindow.g.cs <span style='color:#111;'> 4.09KB </span>","children":null,"spread":false},{"title":"FileDownload_MarkupCompile.cache <span style='color:#111;'> 295B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 8.26KB </span>","children":null,"spread":false},{"title":"FileDownload_Content.g.i.cs <span style='color:#111;'> 559B </span>","children":null,"spread":false},{"title":"App.g.i.cs <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"FileDownload_MarkupCompile.i.cache <span style='color:#111;'> 295B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"FileDownload.csprojResolveAssemblyReference.cache <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"MainWindow.baml <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"FileDownload.g.resources <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"MainWindow.g.i.cs <span style='color:#111;'> 4.09KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"FileDownload.pdb <span style='color:#111;'> 43.50KB </span>","children":null,"spread":false},{"title":"FileDownload.exe <span style='color:#111;'> 13.00KB </span>","children":null,"spread":false},{"title":"FileDownload.vshost.exe.config <span style='color:#111;'> 703B </span>","children":null,"spread":false},{"title":"FileDownload.vshost.exe <span style='color:#111;'> 23.66KB </span>","children":null,"spread":false},{"title":"FileDownload.exe.config <span style='color:#111;'> 703B </span>","children":null,"spread":false}],"spread":false},{"title":"Release","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"FileDownload.v12.suo <span style='color:#111;'> 33.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"FileDownloadServer","children":[{"title":"FileDownloadServer.sln <span style='color:#111;'> 1023B </span>","children":null,"spread":false},{"title":"FileDownloadServer.v12.suo <span style='color:#111;'> 48.50KB </span>","children":null,"spread":false},{"title":"FileDownloadServer","children":[{"title":"FileDownloadServer.csproj.user <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"FileDownloadServer.csproj <span style='color:#111;'> 5.13KB </span>","children":null,"spread":false},{"title":"Web.Release.config <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"Web.Debug.config <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"IService1.cs <span style='color:#111;'> 661B </span>","children":null,"spread":false},{"title":"Service1.svc <span style='color:#111;'> 115B </span>","children":null,"spread":false},{"title":"Service1.svc.cs <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"TempPE","children":null,"spread":false},{"title":"FileDownloadServer.csproj.FileListAbsolute.txt <span style='color:#111;'> 670B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.99KB </span>","children":null,"spread":false},{"title":"FileDownloadServer.csprojResolveAssemblyReference.cache <span style='color:#111;'> 3.38KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"FileDownloadServer.dll <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"FileDownloadServer.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"App_Data","children":null,"spread":false},{"title":"bin","children":[{"title":"FileDownloadServer.dll.config <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"FileDownloadServer.dll <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"FileDownloadServer.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"Web.config <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 公交怪客 :
    我下载了,很迷糊
    2018-12-19
  • typeofzj :
    为什么我把images文件放在E盘了,还是路径有错误,整个代码中没有找到明确的绝对路径,是我没找到吗
    2017-05-10

免责申明

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