posts - 303,  comments - 59,  views - 44万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

随笔分类 -  abp

[ABP] pro module's ts file t/eslint import modules error
摘要:coding tool: vscode 版本: 1.71.0 (user setup) Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Windows_NT x64 10.0.19042 typescript version: 4.8.2 fronte 阅读全文
posted @ 2022-09-08 13:53 芝麻的西瓜 阅读(29) 评论(0) 推荐(0) 编辑
About identity user management or identity user service
摘要:ABP Framework version: v4.4.3 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes Exception message and sta 阅读全文
posted @ 2022-03-15 10:51 芝麻的西瓜 阅读(196) 评论(0) 推荐(0) 编辑
Abp vnext AutoMapper IgnoreAllPropertiesWithAnInaccessibleSetter 不好使的原因
摘要:Abp vnext版本为:4.4.3 原本的使用方式如下: 1 var model=ObjectMapper.Map<CreateUpdateOrder, Order>(input); 但是很明显,model的product属性仍然被覆盖掉了。 换成如下这种方式就好使: var model=new 阅读全文
posted @ 2021-11-02 16:25 芝麻的西瓜 阅读(205) 评论(0) 推荐(0) 编辑
abp vnext send email "The input data is not a complete block"
摘要:【转】http://hnbc.info/index.php/tag/The-input-data-is-not-a-complete-block/ 主要是密码的问题 标签 The input data is not a complete block 下的文章 abp vNext 配置邮件服务器 作者 阅读全文
posted @ 2021-09-18 17:23 芝麻的西瓜 阅读(654) 评论(0) 推荐(0) 编辑
abp vnext EF AggregateRoot 导航属性
摘要:之前用过abp framework。在使用 vnext 时,目前最大的感受是颠覆了我对于导航属性的认知。 因为不符合 DDD 理念,不再被 abp 所推荐使用了,所以在使用操作关联实体时(继承了 AggregateRoot 的实体),只能手动操作了。对我EF的使用习惯形成了很大的冲击。 https: 阅读全文
posted @ 2021-07-23 16:29 芝麻的西瓜 阅读(505) 评论(0) 推荐(0) 编辑
使用hangfire在xunit中
摘要:框架为:abp hangfire配置连接:https://aspnetboilerplate.com/Pages/Documents/Hangfire-Integration 在单元测试中如何配置呢? 1.我认为首先要配置测试类库的module 阅读全文
posted @ 2019-12-12 14:28 芝麻的西瓜 阅读(273) 评论(0) 推荐(0) 编辑
autoMapper dotnetcore webapi 自动添加映射 abp
摘要:在ef的xxxxApplicationModule的Initialize方法中,已经添加了自动映射的配置,如下图: 写的很明白了,我们只需要写一个类继承Profile就可以了。如下图所示: 这样就可以自动映射,而不需要手动添加到注册了。 阅读全文
posted @ 2019-03-20 18:43 芝麻的西瓜 阅读(400) 评论(0) 推荐(0) 编辑
abp Cannot access a disposed object. A common cause of this error is disposing
摘要:框架:abp 异常信息: An unhandled exception was thrown by the application.System.ObjectDisposedException: Cannot access a disposed object. A common cause of t 阅读全文
posted @ 2019-01-25 22:44 芝麻的西瓜 阅读(5844) 评论(2) 推荐(1) 编辑
abp xunit Can not register IHostingEnvironment. It should be a non-abstract class. If not, it should be registered before.”
摘要:在测试项目的ServiceCollectionRegistrar类提前注册。 阅读全文
posted @ 2019-01-22 20:22 芝麻的西瓜 阅读(205) 评论(0) 推荐(0) 编辑
abp EF 添加实体后返回的实体的主键为负值的问题
摘要:请使用InsertAndGetIdAsync 阅读全文
posted @ 2019-01-08 18:18 芝麻的西瓜 阅读(777) 评论(0) 推荐(1) 编辑
abp vue vscode 配置
摘要:https://juejin.im/post/5a791d566fb9a0634853400e 阅读全文
posted @ 2018-07-21 12:17 芝麻的西瓜 阅读(332) 评论(0) 推荐(0) 编辑
abp ef codefirst Value cannot be null. Parameter name: connectionString
摘要:错误原因是abp生成的项目是mvc类型的,但在使用时,选择了vue去开发,所以在abp上重新生成了一个vue项目,把原有的mvc项目给删掉了,没有将新生成的vue类型的项目的文件覆盖掉原有的mvc其他类库。原因就出在这,在已经本地删掉mvc项目的电脑上就可以正常运行,在获取master(有mvc项目 阅读全文
posted @ 2018-07-20 22:16 芝麻的西瓜 阅读(726) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示