上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 47 下一页
摘要: 切换数据库为PGSQL 将EntityFrameworkCore项目中的Volo.Abp.EntityFrameworkCore.SqlServer包 替换为相同版本的Volo.AbpEntityFrameworkCore.Postgresql包 将TestEntityFrameworkCoreMo 阅读全文
posted @ 2022-08-01 16:48 Hey,Coder! 阅读(202) 评论(0) 推荐(0)
摘要: CQRS : Command Query Responsibility Segregation 命令查询分离模式,指将对数据库的增删改操作和查询操作分离,后续可针对查询类业务和命令类业务分开处理分开优化 分离可以在上层进行,底层仍然共享表也是可以的。 另外也可以创建数据宽表来适应查询的业务。 分离后 阅读全文
posted @ 2022-08-01 13:48 Hey,Coder! 阅读(159) 评论(0) 推荐(0)
摘要: 网络管理服务为 network-manager.service ,使用systemctl进行管理 配置网络 vim /etc/network/interfaces auto lo iface lo inet loopback auto eth0 # 开机自启,eth0为网卡名可通过ip addr查看 阅读全文
posted @ 2022-08-01 09:45 Hey,Coder! 阅读(53) 评论(0) 推荐(0)
摘要: 安装quartz.aspnetcore ConfigureServices中注入 //services.AddHostedService<Worker>(); services.AddQuartz(q => { //依赖注入 q.UseMicrosoftDependencyInjectionJobF 阅读全文
posted @ 2022-07-26 15:56 Hey,Coder! 阅读(248) 评论(0) 推荐(0)
摘要: 本文使用纯手工方式、docker创建两种方式 设置镜像 npm config edit 如果不能使用此命令可以直接使用npm config set设置 npm config set registry http://registry.npm.taobao.org/ 在弹出的文档最后添加 electro 阅读全文
posted @ 2022-07-03 00:02 Hey,Coder! 阅读(184) 评论(0) 推荐(0)
摘要: select * from test where ID like '%Test_001%'; ==> select * from test where IDlike '%Test_001%' escape ''; 阅读全文
posted @ 2022-06-30 18:12 Hey,Coder! 阅读(63) 评论(0) 推荐(0)
摘要: 安装对应的nuget - 目前只有previce版本 Microsoft.AspNetCore.Grpc.HttpApi Microsoft.AspNetCore.Grpc.Swagge program.cs中调整监听端口同时支持http1和http2 public static IHostBuil 阅读全文
posted @ 2022-06-24 14:46 Hey,Coder! 阅读(435) 评论(0) 推荐(0)
摘要: 客户端基 /// <summary> /// /// </summary> public class BaseClient : IDisposable { protected string client; protected int port; protected string username; 阅读全文
posted @ 2022-06-23 11:27 Hey,Coder! 阅读(319) 评论(0) 推荐(0)
摘要: 下文以{mqttPath}代表安装目录 ### 开启授权 1. {mqttPath}/etc/emqx.conf关闭匿名访问 allow_anonymous = false ![](https://img2022.cnblogs.com/blog/944369/202206/944369-20220 阅读全文
posted @ 2022-06-23 11:25 Hey,Coder! 阅读(363) 评论(0) 推荐(0)
摘要: ProcessStartInfo.UseShellExecute 属性需要设置为true Process proc = new Process(); proc.StartInfo.UseShellExecute = true; proc.StartInfo.CreateNoWindow = true 阅读全文
posted @ 2022-06-15 14:29 Hey,Coder! 阅读(804) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 47 下一页