C#WCF和HTTP文件传输练习.zip

上传者: 44223180 | 上传时间: 2022-05-25 09:09:56 | 文件大小: 168KB | 文件类型: ZIP
在同一个方案中,分别编写服务端程序和客户端程序,利用http和流传输实现文件下载功能。1.服务端选择WCF服务应用程序模板,客户端程序选择WPF应用程序模板。

文件下载

资源详情

[{"title":"( 67 个子文件 168KB ) C#WCF和HTTP文件传输练习.zip","children":[{"title":"C#WCF和HTTP文件传输练习","children":[{"title":"MyService","children":[{"title":"Web.Debug.config <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"MyService.dll <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"MyService.dll.config <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"MyService.pdb <span style='color:#111;'> 17.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"Web.config <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"MyService.dll <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.95KB </span>","children":null,"spread":false},{"title":"MyService.csprojAssemblyReference.cache <span style='color:#111;'> 27.18KB </span>","children":null,"spread":false},{"title":"MyService.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"MyService.pdb <span style='color:#111;'> 17.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"MyService.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"App_Data","children":null,"spread":false},{"title":"IService1.cs <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"MyService.csproj <span style='color:#111;'> 5.26KB </span>","children":null,"spread":false},{"title":"Service1.svc <span style='color:#111;'> 106B </span>","children":null,"spread":false},{"title":"MyService.csproj.user <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"Service1.svc.cs <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"Web.Release.config <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"Folder","children":[{"title":"picture2.png <span style='color:#111;'> 4.31KB </span>","children":null,"spread":false},{"title":"picture1.jpg <span style='color:#111;'> 47.89KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"CSharpLab_4.sln <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":".vs","children":[{"title":"CSharpLab_4","children":[{"title":"v16","children":[{"title":".suo <span style='color:#111;'> 113.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"config","children":[{"title":"applicationhost.config <span style='color:#111;'> 84.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"CSharpLab_4","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"CSharpLab_4.exe.config <span style='color:#111;'> 739B </span>","children":null,"spread":false},{"title":"CSharpLab_4.pdb <span style='color:#111;'> 51.50KB </span>","children":null,"spread":false},{"title":"CSharpLab_4.exe <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":null,"spread":false}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"MainWindow.g.cs <span style='color:#111;'> 4.90KB </span>","children":null,"spread":false},{"title":"CSharpLab_4.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"CSharpLab_4.csprojAssemblyReference.cache <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"MainWindow.baml <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"CSharpLab_4.pdb <span style='color:#111;'> 51.50KB </span>","children":null,"spread":false},{"title":"CSharpLab_4.exe <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false},{"title":"MainWindow.g.i.cs <span style='color:#111;'> 4.90KB </span>","children":null,"spread":false},{"title":"CSharpLab_4_MarkupCompile.cache <span style='color:#111;'> 471B </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 8.11KB </span>","children":null,"spread":false},{"title":"CSharpLab_4_MarkupCompile.lref <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"CSharpLab_4_MarkupCompile.i.cache <span style='color:#111;'> 237B </span>","children":null,"spread":false},{"title":"CSharpLab_4.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"CSharpLab_4.g.resources <span style='color:#111;'> 2.27KB </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;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"CSharpLab_4.csproj.FileListAbsolute.txt <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false},{"title":"App.g.i.cs <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false},{"title":"CSharpLab_4.csproj.GenerateResource.cache <span style='color:#111;'> 954B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"MainWindow.xaml <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"Connected Services","children":[{"title":"ServiceReference1","children":[{"title":"Service12.xsd <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"configuration.svcinfo <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"Reference.cs <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"Service1.disco <span style='color:#111;'> 363B </span>","children":null,"spread":false},{"title":"Service13.xsd <span style='color:#111;'> 348B </span>","children":null,"spread":false},{"title":"Service1.wsdl <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":"Service11.xsd <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"Service1.xsd <span style='color:#111;'> 572B </span>","children":null,"spread":false},{"title":"Reference.svcmap <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"configuration91.svcinfo <span style='color:#111;'> 19.33KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"MainWindow.xaml.cs <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"CSharpLab_4.csproj <span style='color:#111;'> 5.67KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 739B </span>","children":null,"spread":false},{"title":"App.xaml <span style='color:#111;'> 376B </span>","children":null,"spread":false},{"title":"App.xaml.cs <span style='color:#111;'> 338B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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