05 2017 档案

Redis 模糊匹配 SearchKeys
摘要:语法:KEYS pattern 说明:返回与指定模式相匹配的所用的keys。 该命令所支持的匹配模式如下: (1)?:用于匹配单个字符。例如,h?llo可以匹配hello、hallo和hxllo等; (2)*:用于匹配零个或者多个字符。例如,h*llo可以匹配hllo和heeeello等; (3)[ 阅读全文

posted @ 2017-05-27 10:28 跨界农民工 阅读(901) 评论(0) 推荐(0) 编辑

C# AutoMapper
摘要:http://www.cnblogs.com/xlhblogs/p/3356748.html 阅读全文

posted @ 2017-05-23 16:46 跨界农民工 阅读(92) 评论(0) 推荐(0) 编辑

WebClient 请求返回的是Gbk编码解决方案
摘要:WebClient client = new WebClient(); client.Headers.Clear(); client.Headers.Add("Content-Type", "application/x-www-form-urlencoded;charset=utf-8"); cli 阅读全文

posted @ 2017-05-04 09:38 跨界农民工 阅读(438) 评论(0) 推荐(0) 编辑

asp.net获取客户真实ip非代理ip:
摘要:public string GetUserIP() { string _userIP; if(Request.ServerVariables["HTTP_VIA"] == null) { userIP= Request.UserHostAddress; } else { userIP= Reques 阅读全文

posted @ 2017-05-02 15:37 跨界农民工 阅读(107) 评论(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

导航

统计

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