登录
首页 » C# » webservice 根据当前请求IP 获取天气预报 实例【附源码】

webservice 根据当前请求IP 获取天气预报 实例【附源码】

于 2013-02-21 发布
0 211
下载积分: 1 下载次数: 0

代码说明:

通过webservice 根据当前请求IP 获取该地区天气预报

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • tdma
    说明:  在多跳无线网络进行TDMA方式接入时候,时间是被划分为互不重叠的时隙,边长或定长帧在时隙中进行传输。 当面向节点时候,一个节点可以得到一个或者多个时隙,节点可以利用这些时隙向任何一条链路发送报文到邻居节点。 面向链路分配时候,则是某条单向链路分得一个或多个时隙,在这些时隙中,报文发送是单向的。(Time is divided into non-overlapping slots when multi-hop wireless networks are accessed by TDMA mode. Side-length or fixed-length frames are transmitted in slots. When facing a node, a node can get one or more slots, which can be used by the node to send messages to any link to its neighbors. For link allocation, a one-way link is allocated one or more slots, in which message transmission is one-way.)
    2019-02-08 15:27:07下载
    积分:1
  • wcf 实现大文件上传(有进度条)实例源码
    部分win7/win8用户 运行时报错 可能是 权限问题,所以运行项目的时候 要右键>>以管理员身份运行 部分用户 运行该项目的时候 可能提示:协定需要双工 但是绑定 NetTcpBinding 不支持 这是只需要将host项目app.config中协议部分 改为wsDualHttpBinding 即可,如下代码: 另外使用wcf时,最好不要使用 using 因为使用using会屏蔽掉很多错误,误导用户,参考链接:http://www.codeproject.com/Tips/197531/Do-not-use-using-for-WCF-Clients 相关代码改为:using System;using System.Collections.Generic;using System.Linq;using System.Windows.Forms;using System.ServiceModel;namespace WcfUploadServiceHost{ static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { try { var host = new ServiceHost(typeof (WcfUploadServiceLib.UpLoadService)); host.Open(); Console.WriteLine("Server is opened..."); Console.Read(); //using (var host = new ServiceHost(typeof(WcfUploadServiceLib.UpLoadService))) //{ // host.Open(); // Console.WriteLine("Server is opened..."); // Console.Read(); //} } catch (Exception ex) { Console.WriteLine(ex.ToString()); Console.Read(); } } }}
    2015-01-07下载
    积分:1
  • client111
    基于socket 的网络编程 客户端 具有上传下载文件功能(Socket-based network programming for clients with upload and download files function)
    2011-05-15 09:39:04下载
    积分:1
  • MQTT通讯(基于C# MQTTNet开发)
    基于C# MQTTNet开发,Visual Studio 2017打开项目,其他版本不保证好用
    2019-10-08下载
    积分:1
  • regflarly
    改变窗口控制的背景颜色和字体颜色,这个程序不错哦()
    2018-02-24 12:43:03下载
    积分:1
  • 167574
    list of viterbi编译码算法,编码结构能够任意变化,对初学者来说不错()
    2017-12-30 22:24:38下载
    积分:1
  • C++hao-zi-liao
    大家共享好东西, 尤其是学C++的出血者(share good things, especially learning C bleeding)
    2006-10-30 18:29:27下载
    积分:1
  • rtsp_for_VC
    很好的RTSP实现,分享给大家使用,已经建有VC工程(Good RTSP implementation, we used to share)
    2010-12-23 17:17:47下载
    积分:1
  • 一个小型的DDE服务器 dde-server-mfc-application
    说明:  一个小型的DDE服务器,可以拿来练手和学习(A small DDE server that can be used for hands-on training and learning)
    2020-06-19 02:40:01下载
    积分:1
  • RfQkjNTYK
    代码是用来实现使用IP地址控件显示和设置IP地址的vc代码,好,有需要的朋友可以看看(Vc code is used to display and set the IP address using the IP address of the control code, need friends can look at)
    2013-01-10 18:07:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载