常用网站社区
摘要:博客园 CSDN 开源中国 思否 github
阅读全文
posted @
2018-02-28 09:54
chester·chen
阅读(164)
推荐(0) 编辑
owinAuthorize
摘要:Nuget包获取 添加OwinStartUp类 添加验证类SimpleAuthorizationServerProvider 添加验证 获取token 调接口bearer Token https://www.cnblogs.com/Hai--D/p/6187051.html
阅读全文
posted @
2018-02-26 10:29
chester·chen
阅读(196)
推荐(0) 编辑
C# 微信openid 用户信息
摘要:前段demo index.html 后端代码:
阅读全文
posted @
2018-02-25 11:13
chester·chen
阅读(398)
推荐(0) 编辑
微信Token验证
摘要:推荐文章:https://www.cnblogs.com/HelloMyWorld/p/6380081.html http://blog.csdn.net/inforstack/article/details/47780275
阅读全文
posted @
2018-02-24 16:56
chester·chen
阅读(269)
推荐(0) 编辑
ExposedObject的使用
摘要:ExposedObject可以将一个对象快速封装未一个dynamic
阅读全文
posted @
2018-02-24 13:25
chester·chen
阅读(247)
推荐(0) 编辑
dynamic的好处
摘要:dynamic 可在反射、json反序列化时使用、已达到减少代码量的效果。看代码
阅读全文
posted @
2018-02-24 09:14
chester·chen
阅读(319)
推荐(0) 编辑
IEnumerable与IQueryable区别
摘要:最近在使用MongoDB的时候,发现查询很慢,一个根据Id查询的语句竟然用了50秒,debug了一下,没发现什么大问题,但是另一个查询的语句只用了2秒,对比了一下,发现50s的那个语句使用的IEnumerable查询,而2s的那个语句用的是IQueryable查询,网上找了一下资料,找到了原因:IE
阅读全文
posted @
2018-02-07 10:04
chester·chen
阅读(149)
推荐(0) 编辑
任务调度quartz
摘要:https://www.cnblogs.com/mushroom/p/4067037.html http://cron.qqe2.com/
阅读全文
posted @
2018-02-05 15:13
chester·chen
阅读(1110)
推荐(1) 编辑
VSCode调试设置
摘要:tasks.json tasks.json文件是项目任务的配置文件,可在launch.json文件中配置要执行的task。示例如下: 引用文章:https://www.cnblogs.com/Leo_wl/p/6732242.html 总结: launch.json文件:调试配置 tasks.jso
阅读全文
posted @
2018-02-05 10:41
chester·chen
阅读(1279)
推荐(0) 编辑
VSCode调试C#控制台与单元测试
摘要:公司前端最近项目里面在用VSCode编写前端代码,觉得这个编辑器很轻便,既然是微软出的,肯定支持C#,就去网上查了查资料,发现还真是支持C#,并且蛮多地方用到dotnet命令,哈哈。 1.powershell中执行dotnet命令 创建项目 2.还原项目 3.加载进工作区 4.编译运行项目 5.单元
阅读全文
posted @
2018-02-01 16:29
chester·chen
阅读(2520)
推荐(0) 编辑
dotnet core 命令
摘要:今天在项目中创建了一个net core 2.0的控制台程序,编译完之后,发现在Debug目录下没找到对应的exe程序,只有一个对应的dll(可在.csproj文件的 PropertyGroup节点中添加<RuntimeIdentifier>win10-x64-corert</RuntimeIdent
阅读全文
posted @
2018-02-01 14:43
chester·chen
阅读(306)
推荐(0) 编辑