2022年4月10日

摘要: 服务端 private static TcpListener server; public static void Main1() { //定义接受的端口号 int port = 10010; //地址解析 IPAddress iPAddress = IPAddress.Parse("127.0.0 阅读全文
posted @ 2022-04-10 22:29 进击の咸鱼 阅读(973) 评论(0) 推荐(0) 编辑
摘要: SQL Server 数据类型 Character 字符串: 数据类型描述存储 char(n) 固定长度的字符串。最多 8,000 个字符。 n varchar(n) 可变长度的字符串。最多 8,000 个字符。 varchar(max) 可变长度的字符串。最多 1,073,741,824 个字符。 阅读全文
posted @ 2022-04-10 22:29 进击の咸鱼 阅读(53) 评论(0) 推荐(0) 编辑

2022年1月15日

摘要: multipass 官网 安装要求 windwos windwos 10 Pro/Enterprise/Education 版本 1803 以上 或 Windows 10 安装 VirtualBox 使用 首先运行这个命令(在使用时会出现找不到引擎的错误,先运行这个命令可以避免) multipass 阅读全文
posted @ 2022-01-15 20:29 进击の咸鱼 阅读(1531) 评论(2) 推荐(0) 编辑

2021年6月9日

摘要: 使用ZipFile类,通过Stream的方式进行zip打包 using (MemoryStream memory = new MemoryStream()) { using MemoryStream txt = new MemoryStream(Encoding.UTF8.GetBytes("这是一 阅读全文
posted @ 2021-06-09 14:35 进击の咸鱼 阅读(490) 评论(0) 推荐(0) 编辑

2021年6月4日

摘要: 约束指定类型参数的功能和预期。 声明这些约束意味着你可以使用约束类型的操作和方法调用。 通过使用 where 上下文关键字指定约束 下表列出了各种类型的约束: 约束 描述 where T : struct 类型参数必须是不可为 null 的值类型。 where T : class 类型参数必须是引用 阅读全文
posted @ 2021-06-04 14:40 进击の咸鱼 阅读(311) 评论(0) 推荐(0) 编辑

2021年3月25日

摘要: using System.Reflection;using System.Reflection.Emit; /// <summary> /// 获取动态类型对象 /// </summary> /// <returns></returns> public static Type DynamicClas 阅读全文
posted @ 2021-03-25 15:29 进击の咸鱼 阅读(368) 评论(0) 推荐(0) 编辑

2021年1月5日

摘要: Linux管理工具的选择及推荐 阅读全文
posted @ 2021-01-05 10:48 进击の咸鱼 阅读(173) 评论(0) 推荐(0) 编辑

2020年8月30日

摘要: .NET中的MD5信息摘要算法 阅读全文
posted @ 2020-08-30 14:29 进击の咸鱼 阅读(1856) 评论(1) 推荐(0) 编辑

2020年4月19日

摘要: 通过使用 ASP.NET Core 中的筛选器,可在请求处理管道中的特定阶段之前或之后运行代码。 阅读全文
posted @ 2020-04-19 16:50 进击の咸鱼 阅读(432) 评论(0) 推荐(0) 编辑

2020年3月1日

摘要: centos和ubuntu的比较和推荐 阅读全文
posted @ 2020-03-01 01:55 进击の咸鱼 阅读(339) 评论(0) 推荐(0) 编辑

2020年2月16日

摘要: EF 左联合 三表联合(表内含有空值) 阅读全文
posted @ 2020-02-16 00:10 进击の咸鱼 阅读(173) 评论(0) 推荐(0) 编辑

2020年2月15日

摘要: int[] a = { 1, 5, 8, 3, 7, 4, 6, 2, 0, 9 }; Array.Sort(a); 使用 System.Array 中每个元素的 System.IComparable 实现,对整个一维 System.Array 中的元素进行排序。(默认升序) Array.Rever 阅读全文
posted @ 2020-02-15 00:51 进击の咸鱼 阅读(150) 评论(0) 推荐(0) 编辑

2020年1月30日

摘要: 使用io流的方式导出Excel到浏览器 阅读全文
posted @ 2020-01-30 20:17 进击の咸鱼 阅读(277) 评论(0) 推荐(0) 编辑
摘要: EPPlus导出Excel 阅读全文
posted @ 2020-01-30 20:16 进击の咸鱼 阅读(397) 评论(0) 推荐(0) 编辑

2019年10月23日

摘要: .NET / C#后台调用HTTP请求(GEt和POST方法) 阅读全文
posted @ 2019-10-23 17:34 进击の咸鱼 阅读(1212) 评论(0) 推荐(0) 编辑

2019年10月19日

摘要: EF6中基本的增删改查 阅读全文
posted @ 2019-10-19 16:15 进击の咸鱼 阅读(1020) 评论(0) 推荐(0) 编辑

2019年10月10日

摘要: Dapper入门(简单的使用) 阅读全文
posted @ 2019-10-10 22:30 进击の咸鱼 阅读(699) 评论(0) 推荐(0) 编辑
摘要: JS获取当前系统时间。 阅读全文
posted @ 2019-10-10 21:56 进击の咸鱼 阅读(4146) 评论(0) 推荐(0) 编辑
摘要: JS获取当前时间戳及时间戳的转换,待补充ing。。。 阅读全文
posted @ 2019-10-10 21:47 进击の咸鱼 阅读(1907) 评论(0) 推荐(0) 编辑

2019年9月20日

摘要: 平时用到收集的,持续更行ing。。。 阅读全文
posted @ 2019-09-20 12:34 进击の咸鱼 阅读(296) 评论(0) 推荐(0) 编辑

导航