摘要: 新的服务器中 上线net5的接口 iis 不能打开 Kestrel运行 localhost:5000能够正常打开发现是IIS中的 aspnetcoremodule 不见了需要安装Hosting 必须安装 net core2.x以及目前最新的项目的 如 net core3.x 或者 5.x 按项目版本 阅读全文
posted @ 2021-02-04 17:08 o天风o 阅读(262) 评论(0) 推荐(0) 编辑
摘要: services.AddHttpClient("WeChatPay", c => { c.BaseAddress = new Uri("https://api.mch.weixin.qq.com"); }).ConfigurePrimaryHttpMessageHandler((c) => { va 阅读全文
posted @ 2020-12-21 14:07 o天风o 阅读(667) 评论(0) 推荐(0) 编辑
摘要: 参考地址 https://www.cnblogs.com/lesliexin/p/12879270.html https://docs.microsoft.com/zh-cn/dotnet/api/system.drawing.stringformat.alignment?view=netframe 阅读全文
posted @ 2020-11-16 15:52 o天风o 阅读(791) 评论(0) 推荐(0) 编辑
摘要: 命令参考博文 https://www.cnblogs.com/zwwhnly/p/10918665.html 阅读全文
posted @ 2020-09-26 15:01 o天风o 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 参考链接:https://www.cnblogs.com/subendong/p/13196987.html#4681126 jenkins 构建指令 复制脱机htm文件 不停用程序池的官方解决方案之一 xcopy {路径}\app_offline.htm {路径} /s /Q /Y /I 编译指令 阅读全文
posted @ 2020-09-16 09:09 o天风o 阅读(274) 评论(0) 推荐(0) 编辑
摘要: [HttpGet] [TypeFilter(typeof(LogActionFilter),Arguments =new object[] { "测试表", "YJYK", "Log_Users", "Insert" , "logCode","我测试一下Aop操作日志" })] public IAc 阅读全文
posted @ 2020-08-20 11:58 o天风o 阅读(913) 评论(0) 推荐(0) 编辑
摘要: var list = new List<Course>() { new Course(1,"art"), new Course(2,"art"), new Course(3,"history"), new Course(1,"history"), new Course(3,"physics") }; 阅读全文
posted @ 2020-08-10 15:49 o天风o 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 参考博文地址 https://www.cnblogs.com/cplemom/p/11264040.html https://www.cnblogs.com/netcs/p/12789162.html var client = _httpClientFactory.CreateClient(); c 阅读全文
posted @ 2020-07-02 20:13 o天风o 阅读(732) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/leftfist/p/6808651.html 参考博文地址 var query = from a in _T1.GetAll().Where(x => x.FlagDeleted == false) where _T1.GetAll().Where( 阅读全文
posted @ 2020-06-11 14:30 o天风o 阅读(605) 评论(0) 推荐(0) 编辑
摘要: 参考博文: https://ask.csdn.net/questions/702012 https://www.cnblogs.com/lex-wu/p/11265458.htmlhttps://www.cnblogs.com/cgzl/ 以及杨旭大佬的bilibili视频以及代码 自己搜 开发的时 阅读全文
posted @ 2020-04-28 10:17 o天风o 阅读(540) 评论(0) 推荐(1) 编辑