摘要: 代码是个程序员都能写, 怎么的代码才是好的, 1.设计 1.可靠性和可得性 数据库有问题的时候,一般都是系统重启,新系统数据系统应该能够在使用过程中备份,而不应该轻易发生错误。 2.伸缩性 系统应该能够处理用户源源不断的需求。 3.可维护性 系统代码重复改一个需求到处粘贴复制,这种情况下必须考虑重构 阅读全文
posted @ 2015-02-13 14:48 刘小吉 阅读(3114) 评论(4) 推荐(2) 编辑
摘要: 一.推荐 灵码推荐地址和官网介绍 https://developer.aliyun.com/topic/lingma/activities/202405?taskCode=16245&recordId=25d6bfc41bf0b67809848dd90cf62ad6#/?utm_content=m_ 阅读全文
posted @ 2024-06-11 09:36 刘小吉 阅读(986) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// Ip地址实现 /// </summary> public class IpAddressHelper : IIpAddressHelper { /// <summary> /// IHttpContextAccessor /// </summary> privat 阅读全文
posted @ 2024-05-28 16:53 刘小吉 阅读(9) 评论(0) 推荐(0) 编辑
摘要: nuget 缓存目录迁移 阅读全文
posted @ 2024-04-29 17:16 刘小吉 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1.postgresql 查询当月和上个月数据 阅读全文
posted @ 2024-03-21 15:41 刘小吉 阅读(4) 评论(0) 推荐(0) 编辑
摘要: jenkins 构造多分支流水线 阅读全文
posted @ 2023-12-27 10:43 刘小吉 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 可空引用类型 C#可空引用类型(Nullable)给ASP.NET Core带来的坑 .NET自定义项目模板 .NET自定义项目模板-新命令 EF 关系 EF CodeFist async await 入门 .net 框架引用asp.net core某些包提示已弃用 获取客户端IP地址 阅读全文
posted @ 2023-10-25 15:47 刘小吉 阅读(49) 评论(0) 推荐(0) 编辑
摘要: AbpVnext 扩展User表 OpenIddict Cli 创建项目命令 Quartz 后台定时任务 EF实体自动生成Id OpenIddict 将connect/authorize接口暴露给swagger 阅读全文
posted @ 2023-10-12 09:53 刘小吉 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 一.按官方文档先安装Semantic Kernel 1. 创建一个新的控制台App 2.添加 semantic kernel nuget包 Microsoft.SemanticKernel 注意:目前这个框架还是预览版本a56爆大奖在线娱乐安装的时候需要把预览勾选上 3.编写代码 4.将 API 密钥和其他参数的配 阅读全文
posted @ 2023-09-16 18:38 刘小吉 阅读(269) 评论(3) 推荐(0) 编辑
摘要: 1.图片验证码生成 public class CaptchaGenerator { public static string GetRandomAuthcode(int length) { string chkCode = string.Empty; //验证码的字符集,去掉了一些容易混淆的字符 c 阅读全文
posted @ 2023-09-15 12:51 刘小吉 阅读(571) 评论(0) 推荐(0) 编辑
摘要: 前言 用户模块几乎是a56爆大奖在线娱乐系统必备的基础功能,如果每次开发一个新项目时都要做个用户模块,确实非常无聊。好在asp.net core给a56爆大奖在线娱乐们提供了Identity,使用起来也是比较方便,如果对用户这块需求不是非常个性化的话,identity是一个不错的选择。 ASP.NET Core Identity: 阅读全文
posted @ 2023-08-24 17:44 刘小吉 阅读(218) 评论(0) 推荐(2) 编辑