随笔分类 - Web Service
摘要:IView是什么? iView 是一套基于 Vue.js 的开源 UI 组件库,主要服务于 PC 界面的中后台产品。 Npm安装IView 在main.js中配置Iview IView按钮 颜色: 通过设置type为primary、dashed、text、info、success、warning、e
阅读全文
摘要:接口地址http://www.webxml.com.cn/WebServices/WeatherWebService.asmx 调用步骤:项目添加服务引用-高级-添加web引用 简单代码: web服务名.WeatherWebService w = new web服务名.WeatherWebService(); //把webservice当做一个类来操作 ...
阅读全文
摘要://获取ip和地理信息 string url = "http://pv.sohu.com/cityjson"; WebRequest wRequest = WebRequest.Create(url); wRequest.Method = "GET"; wRequest.ContentType = "text/html;charset=UTF-8"; WebResponse wResponse ...
阅读全文
摘要:例如一个接口的返回值如下:var returnCitySN = {"cip": "221.192.178.158", "cid": "130100", "cname": "河北省石家庄市"};我们的js可以这么写 document.write('IP地址:' + returnCitySN["cip"
阅读全文
摘要:NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces(); foreach (NetworkInterface adapter in nics) { //判断是否为以太网卡 //Wireless80211 无线网卡 Ppp 宽带连接 //Ethernet ...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Web; namespace Glonee.Handler { /// /// ErWeiMa 的摘要说明 /// p...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PicToASCii { public static class ASCiiHelper ...
阅读全文
摘要:通过qq空间、qq聊天、新浪微博和微信二维码分享平台提供的接口,实现把网页中对应的图片、标题、描述的信息参数用javascript获取后传进接口中,实现一键分享。 使用到的接口: 1.分享到QQ空间接口:https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzs
阅读全文