05 2021 档案

摘要:上图 AppSettingsHelper代码, 标红的部分,要按照这个来,否则会提示找不到appsettings.json文件 The configuration file 'appsettings.json' was not found and is not optional. The physi 阅读全文
posted @ 2021-05-29 18:31 拼博之路 阅读(622) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; usi 阅读全文
posted @ 2021-05-29 10:42 拼博之路 阅读(1938) 评论(0) 推荐(0) 编辑
摘要:using System.Web.Mvc.Html; EnumHelper.GetSelectList(typeof(OperationType)); OperationType 如下 public enum OperationType:int { /// <summary> /// 系统 /// 阅读全文
posted @ 2021-05-26 09:49 拼博之路 阅读(148) 评论(0) 推荐(0) 编辑
摘要:类似下面的文件名info/nul.htmlinfo/aux.html 服务器直接返回404错误提示查了资料,解决方案如下 web.config中增加如下加粗部分 <configuration> <system.web> <httpRuntime relaxedUrlToFileSystemMappi 阅读全文
posted @ 2021-05-23 16:36 拼博之路 阅读(101) 评论(0) 推荐(0) 编辑
摘要:System.Threading.Thread.CurrentThread.CurrentCulture.TextInfo.ToTitleCase("要转换的字母") you just have to believe in yourself, and fly with your heart. TO 阅读全文
posted @ 2021-05-07 11:07 拼博之路 阅读(62) 评论(0) 推荐(0) 编辑
摘要:用以下代码可将Fody/Costura嵌入式的资源文件还原 public static void ExtractResFile(string resFileName, string outputFile) { try { using (FileStream inStream = new FileSt 阅读全文
posted @ 2021-05-07 11:03 拼博之路 阅读(1040) 评论(0) 推荐(0) 编辑

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