摘要: /// <summary> /// 避免代码中直接暴露字符串 /// 将字符串转字节 /// </summary> /// <param name="byteDatas"></param> /// <returns></returns> public static string stringMake 阅读全文
posted @ 2023-02-28 11:02 我们的家乡 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 打开项目目录下.csproj文件 替换: </Project>,为下面的文件 粗体红色 Protect.xml 为 Dotfuscator的项目文件 粗体红色 bin\publish\App.exe 为混淆后的文件位置,复制输出操作不能放在混淆中进行 粗体红色 App.exe 只有是项目名的文件,其 阅读全文
posted @ 2022-11-29 11:33 我们的家乡 阅读(538) 评论(0) 推荐(0) 编辑
摘要: var code= new Random().Next(100000, 999999).ToString() 阅读全文
posted @ 2022-11-28 22:24 我们的家乡 阅读(8) 评论(0) 推荐(0) 编辑
摘要: SQLServer版本对应内部数据库版本号配置表 源SQL Server版本内部数据库版本版本 SQL Server 2019 904 15.0.x.x SQL Server 2016 852 13.0.x.x SQL Server 2014 782 12.0.x.x SQL Server 2012 阅读全文
posted @ 2022-08-14 20:10 我们的家乡 阅读(321) 评论(0) 推荐(0) 编辑
摘要: private void DataTolistView<T>(ListView lsit, T data) where T : IEnumerable { if (typeof(T).IsGenericType)//是否是泛型 { Type itemType = typeof(T).GetGener 阅读全文
posted @ 2022-04-28 11:58 我们的家乡 阅读(61) 评论(0) 推荐(0) 编辑
摘要: var field = "mCurrentBalance"; var propInfo = GetPropertyInfo(typeof(MsgOrders), field); var paramExpr = Expression.Parameter(typeof(MsgOrders)); var 阅读全文
posted @ 2022-04-15 17:49 我们的家乡 阅读(190) 评论(0) 推荐(0) 编辑
摘要: { // Base URLs the server listens on, must be configured independently of the routes below // 服务器侦听的基本URL必须独立于下面的路由进行配置 //"Urls": "http://localhost:50 阅读全文
posted @ 2022-03-24 20:48 我们的家乡 阅读(145) 评论(0) 推荐(0) 编辑
摘要: using System; using Namotion.Reflection; namespace ConsoleApp1 { class Program { static void Main(string[] args) { string studentSummary = typeof(Stud 阅读全文
posted @ 2022-01-03 16:49 我们的家乡 阅读(1689) 评论(0) 推荐(0) 编辑
摘要: 学习链接: https://www.bilibili.com/video/BV1PV411p7hs?p=1&t=7.6 生成数据库命令 Add-migration init update-dateabase 源码下载: 下载 (cnblogs.com) 阅读全文
posted @ 2022-01-01 19:10 我们的家乡 阅读(147) 评论(0) 推荐(0) 编辑
摘要: CenterOS 安装.net core 第一步,如果是一台新的服务器,可以升级一下系统的基础软件。如果没有必要也可以跳过这一步。 执行命令 sudo yum update 第二步,注册Microsoft签名密钥,每个机器只要注册一次就可以 注册命令 sudo rpm -Uvh https://pa 阅读全文
posted @ 2021-12-18 11:37 我们的家乡 阅读(260) 评论(0) 推荐(0) 编辑