会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
JerryChen
代码干货,拿来即用
博客园
首页
新随笔
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
12
下一页
2017年7月10日
多对多关系的中间表命名
摘要: 在网上看一些,以及我个人使用的方法,总结一个规则:table1_table2
阅读全文
posted @ 2017-07-10 17:46 chenjingchun
阅读(4054)
评论(0)
推荐(0)
2017年6月7日
dapper.net 存储过程
摘要: var param = new DynamicParameters(); param.Add("_inAdminId", 3); param.Add("_numValue", 0); param.A...
阅读全文
posted @ 2017-06-07 11:16 chenjingchun
阅读(968)
评论(0)
推荐(0)
2017年4月24日
webapi部署到IIS 404错误
摘要: 环境:win2008r2+IIS 解决方案: 添加一个映射 可执行文件地址(根据系统决定64位可32位): C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll 名称随便起。就此OK
阅读全文
posted @ 2017-04-24 16:52 chenjingchun
阅读(1683)
评论(0)
推荐(0)
2017年4月13日
Mysql分组求和&LIMIT
摘要: 分组求和mysql> SELECT coalesce(name, '总数'), SUM(singin) as singin_count FROM employee_tbl GROUP BY name WITH ROLLUP; + + + | coalesce(name, '总数') | singin
阅读全文
posted @ 2017-04-13 11:52 chenjingchun
阅读(1613)
评论(0)
推荐(0)
Mysql正则
摘要: 摘自:http://www.runoob.com/mysql/mysql-regexp.html 实例 了解以上的正则需求后,我们就可以更加自己的需求来编写带有正则表达式的SQL语句。以下我们将列出几个小实例(表名:person_tbl )来加深我们的理解: 查找name字段中以'st'为开头的所有
阅读全文
posted @ 2017-04-13 11:39 chenjingchun
阅读(894)
评论(0)
推荐(0)
2017年4月8日
OAuth密码模式说明(resource owner password credentials)
摘要: 用户向客户端(third party application)提供用户名和密码。 客户端将用户名和密码发给认证服务器(Authorization server),向后者请求令牌(token)。 认证服务器确认无误后,向客户端提供访问令牌。 客户端持令牌(token)访问资源。
阅读全文
posted @ 2017-04-08 15:28 chenjingchun
阅读(725)
评论(0)
推荐(0)
OAuth四种模式
摘要: 授权码模式(authorization code) 适用于网站服务端去oauth服务端申请授权 简化模式(implicit) 没有服务端,js+html页面去oauth服务端申请授权 密码模式(resource owner password credentials) 你自己实现了一套webApi,想
阅读全文
posted @ 2017-04-08 15:24 chenjingchun
阅读(760)
评论(0)
推荐(0)
2017年3月2日
C#异步Async、Task、Await
摘要: 参考http://www.cnblogs.com/jesse2013/p/async-and-await.html 事例: static void Main(string[] args) { for (int i = 0; i GetNameAsync() { // 这里还是主线程 Conso...
阅读全文
posted @ 2017-03-02 16:39 chenjingchun
阅读(11043)
评论(0)
推荐(2)
2017年2月16日
msmq消息队列使用场景
摘要: MSMQ全称是Microsoft Message Queue——微软消息队列。 MSMQ是一种通信的机制,因为是一种中间件技术,所以它能够支持多种类型的语言开发,同时也是跨平台的通信机制,也就是说MQ支持将信息转化为XML或者JSon等类型的数据存储到消息队列中,然后可以使用不同的语言来处理消息队列
阅读全文
posted @ 2017-02-16 14:56 chenjingchun
阅读(744)
评论(0)
推荐(0)
2017年2月9日
React Native Windows下环境安装(一)
摘要: 1.安装chocolatey 以管理员权限运行命令提示符(cmd.exe) @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%...
阅读全文
posted @ 2017-02-09 16:51 chenjingchun
阅读(580)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
12
下一页
公告