08 2022 档案

摘要:Encoding.UTF8.GetBytes(string.Format("{0}#{1}", "name", "pwd"))).ToUpper(); public static string GetMD5(byte[] bytes) { // Create a new instance of th 阅读全文
posted @ 2022-08-08 11:17 哪啊哪啊神去村 阅读(6) 评论(0) 推荐(0) 编辑
摘要:1.先创建一个类: public static class MyServiceProvider { public static IServiceProvider ServiceProvider { get; set; } } 2.Startup.cs中Configure方法中添加 MyService 阅读全文
posted @ 2022-08-03 16:52 哪啊哪啊神去村 阅读(20) 评论(0) 推荐(0) 编辑
摘要:dynamic type = (new Program()).GetType(); string currentDirectory = Path.GetDirectoryName(type.Assembly.Location); 阅读全文
posted @ 2022-08-03 16:49 哪啊哪啊神去村 阅读(3) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示