上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 69 下一页
摘要: 参考 : http://cnblogs.com/nianming/p/7068253.html https://docs.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-2.1&tabs=windows 常常有 阅读全文
posted @ 2018-07-07 14:44 兴杰 阅读(208) 评论(0) 推荐(0)
摘要: 参考 : http://www.cnblogs.com/JimmyZhang/archive/2008/10/02/Cryptograph.html https://blog.csdn.net/Jogger_Ling/article/details/60576625 2 架机器要通信, 信息很容易被 阅读全文
posted @ 2018-07-04 23:11 兴杰 阅读(144) 评论(0) 推荐(0)
摘要: 更新 : 2019-07-14 关于 mat-error 和 ErrorStateMatcher form-filed + mat-input + mat-error 是很常见的组合 默认的 error 交互体验是这样的. touched 表示用户 unblur 了 input, dirty 则是用 阅读全文
posted @ 2018-06-05 17:22 兴杰 阅读(516) 评论(0) 推荐(0)
摘要: 更新: 2022-04-01 翻新版本: ASP.NET Core – 操作 Uri 和 Query 更新 :2018-7-25 直接添加 query string. var resetPasswordLink = QueryHelpers.AddQueryString($"{Request.Sch 阅读全文
posted @ 2018-05-11 13:02 兴杰 阅读(647) 评论(0) 推荐(0)
摘要: 1. require('xx-xx') 不能用时 https://stackoverflow.com/questions/31173738/typescript-getting-error-ts2304-cannot-find-name-require 2.第三方 type 用不到时, 比如 ham 阅读全文
posted @ 2018-05-08 14:51 兴杰 阅读(1459) 评论(0) 推荐(0)
摘要: 1. lazyload 的 path 变成相对路径了, 不过如果你用 ng update 的话, 依然可以不需要修改, cli config 好像能调支持绝对路径的写法. 2. 新的 providers 依赖注入机制 tree shakeable (可树摇) 从前我们通过在 module.provi 阅读全文
posted @ 2018-05-04 22:51 兴杰 阅读(431) 评论(0) 推荐(0)
摘要: 有时候我们会想给予权限添加 filter 到查询上. 比如 会员和管理员都使用了 /api/products 作为 product 查询 但是会员不应该可以看见还没有上架的货品 /api/products?$filter=onMarket eq true 才是正确的 但是我们当然不可能把这个 $fi 阅读全文
posted @ 2018-03-18 10:44 兴杰 阅读(194) 评论(0) 推荐(0)
摘要: 更新 : 2019-02-21 除了写 srcset sizes 还有一种 x1, x2, x3, x4 的写法. 我们对比一下 假设 pc 希望是 1000w mobile 希望是 300w size 的写法是 if device == 300w use 300w, else if device 阅读全文
posted @ 2018-02-03 14:36 兴杰 阅读(722) 评论(0) 推荐(0)
摘要: ng 是做前端开发的, 所以通常我们会配上一个 API server. 本地调试时通常使用 proxy https://github.com/angular/angular-cli/blob/master/docs/documentation/stories/proxy.md proxy.conf. 阅读全文
posted @ 2018-01-31 23:45 兴杰 阅读(322) 评论(0) 推荐(0)
摘要: 请移步到新版: Angular Material 18+ 高级教程 – CDK Overlay 更新: 2021-01-20 在 version 11 的版本里, excludeFromOutsideClick 已经被拿掉了. 因为 ng mat team 认为这个接口太死板了, 干脆让开发者自己去 阅读全文
posted @ 2018-01-21 22:23 兴杰 阅读(1091) 评论(0) 推荐(0)
上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 69 下一页