Loading

11 2019 档案

摘要:ef core提供了Global Query Filters特性来实现多租户与软删除,收集了一些实现方法。 最简单的例子是微软官方的特性解释。 比较全面的实现可参考: 需要注意Cache问题: 其中如果需要扫描model自动注册所有实体,属于是高阶用法 构建Expression的代码难以理解,不便后 阅读全文
posted @ 2019-11-27 16:48 wswind 阅读(605) 评论(0) 推荐(0) 编辑
摘要:很多学习identityserver的文章都没有解释清楚oidc hybrid混合模式的含义。本文将解释hybrid模式与另外两种模式的主要区别。 我们先看一下一手文档: code , impact很多文章已经讲的很清楚了,这里我们不赘述了。 hybrid和code一样都有8个步骤,大部分步骤也是相 阅读全文
posted @ 2019-11-20 23:00 wswind 阅读(1103) 评论(0) 推荐(1) 编辑
摘要:在组策略中,禁用允许上传用户活动 阅读全文
posted @ 2019-11-17 13:51 wswind 阅读(2378) 评论(0) 推荐(0) 编辑
摘要:https://nsis.sourceforge.io/Download https://www.installaware.com/ https://www.advancedinstaller.com/ https://www.revenera.com/install/products/instal 阅读全文
posted @ 2019-11-14 11:49 wswind 阅读(2015) 评论(0) 推荐(0) 编辑
摘要:操作步骤 通过环境变量修改默认配置,允许删除 获取image的sha值 进入registry容器中,执行垃圾回收 删除残留目录 #环境变量 REGISTRY_STORAGE_DELETE_ENABLED=true 用于覆盖默认设置 docker run -d -v /opt/registry:/va 阅读全文
posted @ 2019-11-14 09:29 wswind 阅读(4728) 评论(0) 推荐(0) 编辑
摘要:通过openssl生成证书 将pfx设置为Embedded resource program 添加代码 源码: 参考: 阅读全文
posted @ 2019-11-13 10:46 wswind 阅读(1134) 评论(0) 推荐(0) 编辑
摘要:NServiceBus (收费) MassTransit Brighter eshop 中的微软实现 阅读全文
posted @ 2019-11-12 13:54 wswind 阅读(367) 评论(0) 推荐(0) 编辑
摘要:powershell脚本来源于网络,有一些调整。 # 将复制出来的缓存图片保存在下面的文件夹 $dir = Split-Path -Parent $MyInvocation.MyCommand.Definition cd $dir add-type -AssemblyName System.Draw 阅读全文
posted @ 2019-11-06 21:48 wswind 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-11-05 22:03 wswind 阅读(2567) 评论(0) 推荐(0) 编辑
摘要:切换工作目录到脚本所在目录 bash: powershell: 阅读全文
posted @ 2019-11-05 11:24 wswind 阅读(1778) 评论(0) 推荐(0) 编辑
摘要:add migrations update database 如何通过dotnet cli调用 阅读全文
posted @ 2019-11-04 15:07 wswind 阅读(642) 评论(1) 推荐(1) 编辑