会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ly丶乐
博客园
首页
新随笔
联系
订阅
管理
2019年9月23日
取文本中的时间(各种格式);两个字符串(确定)中间的文本;
摘要: 正则
阅读全文
posted @ 2019-09-23 10:45 ly丶乐
阅读(354)
评论(0)
推荐(0)
2019年4月10日
C# 压缩图片 HttpPostedFile转Image
摘要: #region 以下代码为保存图片时,设置压缩质量 Image iSource = Image.FromStream(file.InputStream);//HttpPostedFile转Image long[] qy = new long[1]; qy[0] =...
阅读全文
posted @ 2019-04-10 15:58 ly丶乐
阅读(1274)
评论(0)
推荐(1)
2019年3月29日
C# post请求,Json转换实体类
摘要: public GetFloorBuildingResult GetFloorBuilding([FromBody]GetFloorBuildingModels model) { string dd = model.Fatherid; string serviceAddress = "http://public.data.test....
阅读全文
posted @ 2019-03-29 15:05 ly丶乐
阅读(1662)
评论(0)
推荐(0)
2019年1月7日
jq div 托拉拽
摘要: $(function () { $(document).mousemove(function (e) { if (!!this.move) { var posix = !document.move_target ? { 'x': 0, 'y': 0 } : document.move_target.posix, ca...
阅读全文
posted @ 2019-01-07 18:03 ly丶乐
阅读(473)
评论(0)
推荐(0)
2018年12月14日
json转换成实体类
摘要: //将获取到的json格式数据转换成对应的实体类 JsonSerializer serializer = new JsonSerializer(); StringReader sr = new StringReader(“json”); object o = serializer.Deserializ...
阅读全文
posted @ 2018-12-14 15:14 ly丶乐
阅读(1480)
评论(0)
推荐(0)
C# 队列、锁、异步
摘要: //创建队列 private static ConcurrentQueue _Concurrenplayrecord_count { get; set; } //实现队列 _Concurrenplayrecord_count = new ConcurrentQueue(); //进队列 ad_playrecord_count prcModel = new ad_playrecord_count...
阅读全文
posted @ 2018-12-14 15:04 ly丶乐
阅读(1278)
评论(0)
推荐(0)
2018年12月11日
关于C#调用protobuf 序列化和反序列化
摘要: Google protobuf
阅读全文
posted @ 2018-12-11 17:43 ly丶乐
阅读(4265)
评论(0)
推荐(0)
2018年12月7日
关于System.Data.Entity.Infrastructure.DbUpdateException 的问题
摘要: 今天遇到了一个很蛋疼的问题,新增了两个表,但是向表添加数据时,报错 System.Data.Entity.Infrastructure.DbUpdateException 而且,下面的详情里面是对象名 'dbo.BdjpResponseInfoes' 无效。明明我的表名没后面那个S!!!反正找了很久
阅读全文
posted @ 2018-12-07 14:42 ly丶乐
阅读(936)
评论(0)
推荐(0)
2018年11月6日
C# 本地CSS和JS引用无问题,部署服务器之后出现500错误
摘要: 今天遇到一个蛋蛋疼的问题,本地CSS和JS引用无问题,部署服务器之后出现500错误 在服务器IIS上处理了半天都无效,最后瞎点到mime类型的时候报错,想想有可能是这里出了问题,经排查 是webconfig中加了这一段,当初是为了在mime中加入MP4类型自己在config中配置了,没想到出现当前错
阅读全文
posted @ 2018-11-06 14:22 ly丶乐
阅读(769)
评论(0)
推荐(0)
2018年9月12日
windows服务
摘要: 记录下https://blog.csdn.net/xiaoguidangjiajia/article/details/52371354 这个博客写的很详细,谢谢
阅读全文
posted @ 2018-09-12 10:47 ly丶乐
阅读(91)
评论(0)
推荐(0)
下一页
公告