随笔分类 - 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
阅读全文
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
阅读全文
Abp vnext AutoMapper IgnoreAllPropertiesWithAnInaccessibleSetter 不好使的原因
摘要:Abp vnext版本为:4.4.3 原本的使用方式如下: 1 var model=ObjectMapper.Map<CreateUpdateOrder, Order>(input); 但是很明显,model的product属性仍然被覆盖掉了。 换成如下这种方式就好使: var model=new
阅读全文
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 配置邮件服务器 作者
阅读全文
abp vnext EF AggregateRoot 导航属性
摘要:之前用过abp framework。在使用 vnext 时,目前最大的感受是颠覆了我对于导航属性的认知。 因为不符合 DDD 理念,不再被 abp 所推荐使用了,所以在使用操作关联实体时(继承了 AggregateRoot 的实体),只能手动操作了。对我EF的使用习惯形成了很大的冲击。 https:
阅读全文
使用hangfire在xunit中
摘要:框架为:abp hangfire配置连接:https://aspnetboilerplate.com/Pages/Documents/Hangfire-Integration 在单元测试中如何配置呢? 1.我认为首先要配置测试类库的module
阅读全文
autoMapper dotnetcore webapi 自动添加映射 abp
摘要:在ef的xxxxApplicationModule的Initialize方法中,已经添加了自动映射的配置,如下图: 写的很明白了,我们只需要写一个类继承Profile就可以了。如下图所示: 这样就可以自动映射,而不需要手动添加到注册了。
阅读全文
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
阅读全文
abp xunit Can not register IHostingEnvironment. It should be a non-abstract class. If not, it should be registered before.”
摘要:在测试项目的ServiceCollectionRegistrar类提前注册。
阅读全文
abp EF 添加实体后返回的实体的主键为负值的问题
摘要:请使用InsertAndGetIdAsync
阅读全文
abp vue vscode 配置
摘要:https://juejin.im/post/5a791d566fb9a0634853400e
阅读全文
abp ef codefirst Value cannot be null. Parameter name: connectionString
摘要:错误原因是abp生成的项目是mvc类型的,但在使用时,选择了vue去开发,所以在abp上重新生成了一个vue项目,把原有的mvc项目给删掉了,没有将新生成的vue类型的项目的文件覆盖掉原有的mvc其他类库。原因就出在这,在已经本地删掉mvc项目的电脑上就可以正常运行,在获取master(有mvc项目
阅读全文