08 2018 档案
linq join用法,左连接
摘要:单条件: var query = from person in people join pet in pets on person equals pet.Owner select new { OwnerName = person.FirstName, PetName = pet.Name }; 多条
阅读全文
TLS1.1升级到TLS1.2(微信小程序要求TLS1.2以上)
摘要:检测是否具有TLS1.2:www.ssllabs.com 实验过的办法: https://www.cnblogs.com/wqcheng/p/6618070.html http://www.ocbc.com.cn/business-banking/cn/e-banking/faq-system-re
阅读全文
js的urlencode
摘要:function urlencode (str) { str = (str + '').toString(); return encodeURIComponent(str).replace(/!/g, '%21').replace(/'/g, '%27').replace(/\(/g, '%28')
阅读全文
EntityFramework的linq扩展where
摘要:代码 Expression<Func<TSource, bool>> predicate = c=>c.Id==1; predicate = predicate.And(c=>c.Name=="jay");
阅读全文
RestSharp发送请求得到Json数据
摘要:NUGET安装:RestSharp code: public string Post(string url, string content) { string contentType = "application/json"; //Content-Type try { var client = ne
阅读全文
ABP框架基本使用
摘要:文档:https://docs.abp.io/zh-Hans/abpabp默认管理员:admin,密码:123qwe,这是写死的,xxx.Core\Authorization\Users\User.cs 行数:101.先在Core项目中建立模型Models》Model.cs/ModelManager
阅读全文