C#添加WebService服务实现天气预报(查询)

上传者: laozhuxinlu | 上传时间: 2019-12-21 20:05:44 | 文件大小: 105KB | 文件类型: zip
C#实现添加有关天气预报的WebService,调用其中相应的WebAPI实现不同地区的天气情况的获取。在这主要有两个部分,一个是介绍C#怎么添加WebService,一个是添加天气的WebService后怎么去调用WebAPI。

文件下载

资源详情

[{"title":"( 43 个子文件 105KB ) C#添加WebService服务实现天气预报(查询)","children":[{"title":"WebService","children":[{"title":"WebService.sln <span style='color:#111;'> 872B </span>","children":null,"spread":false},{"title":"WebService","children":[{"title":"Form1.cs <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 491B </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"Service References","children":[{"title":"Weather","children":[{"title":"Reference.cs <span style='color:#111;'> 4.20KB </span>","children":null,"spread":false},{"title":"WeatherWebService.disco <span style='color:#111;'> 807B </span>","children":null,"spread":false},{"title":"Reference.svcmap <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"WeatherWebService.wsdl <span style='color:#111;'> 30.71KB </span>","children":null,"spread":false},{"title":"configuration91.svcinfo <span style='color:#111;'> 39.19KB </span>","children":null,"spread":false},{"title":"configuration.svcinfo <span style='color:#111;'> 4.17KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 516B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"DataSources","children":[{"title":"System.Data.DataSet.datasource <span style='color:#111;'> 599B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"WebService.csproj <span style='color:#111;'> 6.11KB </span>","children":null,"spread":false},{"title":"Web References","children":[{"title":"WeatherWeb","children":[{"title":"Reference.cs <span style='color:#111;'> 18.66KB </span>","children":null,"spread":false},{"title":"WeatherWebService.disco <span style='color:#111;'> 807B </span>","children":null,"spread":false},{"title":"Reference.map <span style='color:#111;'> 636B </span>","children":null,"spread":false},{"title":"WeatherWebService.wsdl <span style='color:#111;'> 30.71KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 7.46KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"GenerateResource.read.1.tlog <span style='color:#111;'> 586B </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 10.44KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Service References.Weather.Reference.cs.dll <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"Web References.WeatherWeb.Reference.cs.dll <span style='color:#111;'> 14.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"WebService.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.65KB </span>","children":null,"spread":false},{"title":"WebService.exe <span style='color:#111;'> 23.00KB </span>","children":null,"spread":false},{"title":"WebService.csproj.GenerateResource.Cache <span style='color:#111;'> 975B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 5.29KB </span>","children":null,"spread":false},{"title":"WebService.pdb <span style='color:#111;'> 65.50KB </span>","children":null,"spread":false},{"title":"GenerateResource.write.1.tlog <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"WebService.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"WebService.csproj.FileListAbsolute.txt <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"WebService.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"WebService.vshost.exe <span style='color:#111;'> 11.33KB </span>","children":null,"spread":false},{"title":"WebService.exe.config <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"WebService.exe <span style='color:#111;'> 23.00KB </span>","children":null,"spread":false},{"title":"WebService.pdb <span style='color:#111;'> 65.50KB </span>","children":null,"spread":false},{"title":"WebService.vshost.exe.config <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":false},{"title":"Release","children":null,"spread":false}],"spread":true}],"spread":false},{"title":"WebService.suo <span style='color:#111;'> 25.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • rygzptl :
    可以用,不错。查看天气预报可以参考怎么调用。
    2019-05-24
  • rygzptl :
    可以用,不错。查看天气预报可以参考怎么调用。
    2019-05-24
  • qqitqq :
    用了一下还可以嘛,分值太高了一点啊
    2016-11-05
  • 纵世科技 :
    用了一下还可以嘛,分值太高了一点啊
    2016-11-05

免责申明

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