摘要: 笔记: 更新 2021-02-23 22:33 https://stackoverflow.com/questions/35397198/how-can-i-watch-for-changes-to-localstorage-in-angular2/57039364 去看这个回答,这个更好。 下面就 阅读全文
posted @ 2021-02-23 21:51 youliCC 阅读(531) 评论(0) 推荐(0)
摘要: 笔记 如何使子级路由跳转动画生效: 1. 注意路由中 data:{animate 属性} 与 “outlet.activatedRouteData.animation”的animation属性 然后 去创建动画 class 2.重点 第一级路由 <div [@routeAnimations]="pr 阅读全文
posted @ 2021-02-22 10:19 youliCC 阅读(303) 评论(0) 推荐(0)
摘要: 记录笔记。 让事件处理器执行 总结一句话:想让事件处理器执行,那么事件触发的类,该类必须由 IOC(依赖注入)容器创建。 踩坑 如下图: 创建事件处理器 触发事件,这个类没用IOC(依赖注入)容器创建前, 手动new 的一个对象。 事件处理器一直执行不了,后来继承了下领域服务,就OK了(继承该接口I 阅读全文
posted @ 2021-01-14 22:45 youliCC 阅读(132) 评论(0) 推荐(0)
摘要: 笔记 如果报错如下: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import Com 阅读全文
posted @ 2021-01-07 17:31 youliCC 阅读(801) 评论(0) 推荐(0)
摘要: 参考 https://aspnetboilerplate.com/Pages/Documents/EventBus-Domain-Events EventBus The EventBus is a singleton object that is shared by other classes to 阅读全文
posted @ 2020-12-22 22:38 youliCC 阅读(110) 评论(0) 推荐(0)
摘要: 笔记: 官方地址 详情介绍 https://aspnetboilerplate.com/Pages/Documents/Entities 1.如何创建实体 2.聚合根类 3.领域事件 4.关于实体的通用接口 例如包含 createTime 、createUser、modifyTime 等等属性的通用 阅读全文
posted @ 2020-12-19 23:18 youliCC 阅读(144) 评论(0) 推荐(0)
摘要: 地址 https://aspnetboilerplate.com/Pages/Documents/Domain-Services#introduction 1.介绍: 领域服务(只是DDD领域中的服务)通常用来执行领域操作或业务规则。 The operation relates to a domai 阅读全文
posted @ 2020-12-19 22:59 youliCC 阅读(150) 评论(0) 推荐(0)
摘要: 笔记: [Abp 源码分析]一、Abp 框架启动流程分析 https://www.cnblogs.com/myzony/p/9186838.html 其中讲解abp框架如何注册 MVC过滤器 。 阅读全文
posted @ 2020-12-19 21:03 youliCC 阅读(106) 评论(0) 推荐(0)
摘要: <configuration> <system.webServer> <rewrite> <rules> <rule name="Angular Routes" stopProcessing="true"> <!--当路由字符串中不包含“webapi/api/”时,路由将指向angular路由!-- 阅读全文
posted @ 2020-12-11 15:37 youliCC 阅读(320) 评论(0) 推荐(0)
摘要: 错误如下 严重性 代码 说明 项目 文件 行 禁止显示状态错误 MSB4018 “ResolveTargetingPackAssets”任务意外失败。System.IO.DirectoryNotFoundException: 未能找到路径“C:\Program Files\dotnet\packs\ 阅读全文
posted @ 2020-12-05 17:04 youliCC 阅读(1706) 评论(0) 推荐(0)