摘要:
/// <summary> /// 避免代码中直接暴露字符串 /// 将字符串转字节 /// </summary> /// <param name="byteDatas"></param> /// <returns></returns> public static string stringMake 阅读全文
摘要:
打开项目目录下.csproj文件 替换: </Project>,为下面的文件 粗体红色 Protect.xml 为 Dotfuscator的项目文件 粗体红色 bin\publish\App.exe 为混淆后的文件位置,复制输出操作不能放在混淆中进行 粗体红色 App.exe 只有是项目名的文件,其 阅读全文
摘要:
var code= new Random().Next(100000, 999999).ToString() 阅读全文
摘要:
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 阅读全文
摘要:
private void DataTolistView<T>(ListView lsit, T data) where T : IEnumerable { if (typeof(T).IsGenericType)//是否是泛型 { Type itemType = typeof(T).GetGener 阅读全文
摘要:
var field = "mCurrentBalance"; var propInfo = GetPropertyInfo(typeof(MsgOrders), field); var paramExpr = Expression.Parameter(typeof(MsgOrders)); var 阅读全文
摘要:
{ // Base URLs the server listens on, must be configured independently of the routes below // 服务器侦听的基本URL必须独立于下面的路由进行配置 //"Urls": "http://localhost:50 阅读全文
摘要:
using System; using Namotion.Reflection; namespace ConsoleApp1 { class Program { static void Main(string[] args) { string studentSummary = typeof(Stud 阅读全文
摘要:
学习链接: https://www.bilibili.com/video/BV1PV411p7hs?p=1&t=7.6 生成数据库命令 Add-migration init update-dateabase 源码下载: 下载 (cnblogs.com) 阅读全文
摘要:
CenterOS 安装.net core 第一步,如果是一台新的服务器,可以升级一下系统的基础软件。如果没有必要也可以跳过这一步。 执行命令 sudo yum update 第二步,注册Microsoft签名密钥,每个机器只要注册一次就可以 注册命令 sudo rpm -Uvh https://pa 阅读全文