11 2016 档案

Newtonsoft.Json解析Json字符串案例:
摘要:未解析建的类型: 解析方法: 阅读全文

posted @ 2016-11-17 13:50 跨界农民工 阅读(423) 评论(0) 推荐(0) 编辑

修复 Firefox 下本地使用 Bootstrap 3 时 glyphicon 不显示问题
摘要:本地开发使用 Firefox 调试,遇到了 glyphicon 图标不显示的问题,期初以为是路径问题,搜索一大圈后找到了答案,原来这是一个安全性的问题,于是问题就好办了,解决方案如下: 1. 在Firefox地址栏输入 about:config 回车; 2. 搜索 security.fileuri. 阅读全文

posted @ 2016-11-15 08:49 跨界农民工 阅读(262) 评论(0) 推荐(0) 编辑

.net字符串Gzip压缩和base64string转换:
摘要:class Program { static void Main(string[] args) { //要压缩的字符串 string data = "13800138000,验证码:1234【华信】\r\n13800138000,验证码:4567【华信】"; byte[] buff... 阅读全文

posted @ 2016-11-11 11:31 跨界农民工 阅读(2192) 评论(0) 推荐(0) 编辑

.net WebClient发送请求实例:
摘要:public static Main(string [] ager) { WebClient client = new WebClient(); client.Headers.Clear(); client.Headers.Add("Content-Type", "application/x-www-form-urlencoded;cha... 阅读全文

posted @ 2016-11-10 14:36 跨界农民工 阅读(197) 评论(0) 推荐(0) 编辑

XmlDocument解析Soap格式文件案例:
摘要:private static string Analysis(string strResult) { var doc = new System.Xml.XmlDocument(); //加载soap文件,文件格式如:strResult doc.LoadXml(strResult); string q1 = doc.DocumentElement["soap:Bo... 阅读全文

posted @ 2016-11-09 10:57 跨界农民工 阅读(574) 评论(0) 推荐(0) 编辑

Xml文件操作的其中一个使用方法:
摘要:案例xml文件 又一个解析xml文件的方法: xml文件: 阅读全文

posted @ 2016-11-08 18:49 跨界农民工 阅读(242) 评论(0) 推荐(0) 编辑

HttpClient请求发送的几种用法:
摘要:1 /// 2 /// HttpClient实现Post请求 3 /// 4 static async void dooPost() 5 { 6 string url = "http://localhost:52824/api/register"; 7 //设置H... 阅读全文

posted @ 2016-11-08 13:54 跨界农民工 阅读(2732) 评论(0) 推荐(0) 编辑

Windows服务安装命令:
摘要:sc create YY.SmsPlatform.RemoteDataCenter binPath= "E:\YY.SmsPlatform\YY.SmsPlatform.RemoteDataCenter\YY.SmsPlatform.RemoteDataCenter.exe" 手工设置Windows 阅读全文

posted @ 2016-11-04 13:57 跨界农民工 阅读(901) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示