07 2021 档案

摘要:1 修改Program.cs 如下 public class Program { public static void Main(string[] args) { // Create the Serilog logger, and configure the sinks Log.Logger = n 阅读全文
posted @ 2021-07-21 09:20 温故纳新 阅读(317) 评论(0) 推荐(0) 编辑
摘要:报错截图 解决方法: 确定启动dll没有拼错,如果确定没有拼错,使用 命令 cd .. 然后返回上一层路径,然后在进入到启动dll所在的目录再执行 dotnet 命令 阅读全文
posted @ 2021-07-20 22:05 温故纳新 阅读(507) 评论(0) 推荐(0) 编辑
摘要:1 在项目中添加 hosting.json 文件用来配置端口,内容如下 { "urls": "http://*:12306" } 修改启动项目 Program.cs 文件 Main 方法如下 public class Program { public static void Main(string[ 阅读全文
posted @ 2021-07-18 17:30 温故纳新 阅读(393) 评论(0) 推荐(0) 编辑
摘要:后台Model public class _0710Model { public int Id { get; set; } public string Name { get; set; } public List<_0710Model> list1;//{ get; set; } public Li 阅读全文
posted @ 2021-07-17 22:40 温故纳新 阅读(248) 评论(0) 推荐(0) 编辑
摘要:解决方法: 参考链接 https://www.cnblogs.com/huawublog/p/13565591.html 阅读全文
posted @ 2021-07-13 13:32 温故纳新 阅读(2369) 评论(0) 推荐(1) 编辑
摘要:## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. ## ## Get latest from https://github. 阅读全文
posted @ 2021-07-10 13:28 温故纳新 阅读(136) 评论(0) 推荐(0) 编辑
摘要:1 在服务器上安装 托管捆绑包 安装 .net 5.0 版本的捆绑包 dotnet-hosting-5.0.7-win 链接:https://pan.baidu.com/s/1P7neU8xJtXe0Neu8sv-Dpg 提取码:qgga 2 使用visual studio 生成发布包。 如果部署模 阅读全文
posted @ 2021-07-10 12:19 温故纳新 阅读(204) 评论(0) 推荐(0) 编辑
摘要:解决方法:发布时 部署模式选择“框架依赖”,目标运行时选择“可移植” 阅读全文
posted @ 2021-07-08 06:53 温故纳新 阅读(1187) 评论(0) 推荐(1) 编辑

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