上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 1 AddJsonFile("appsettings.json", optional: true, reloadOnChange: true); 最后 ConfigurationBuilder 添加addjson的信息,存到集合 IList<IConfigurationSource>里 2 buil 阅读全文
posted @ 2024-03-28 18:01 孤海飞雁 阅读(34) 评论(0) 推荐(0) 编辑
摘要: F:\SourceCode\Net\Net8\runtime\docs\workflow\building\libraries\ 文件看下编译命令 F:\SourceCode\Net\Net8\runtime\docs\workflow\requirements\查看编译所需文件 build.cmd 阅读全文
posted @ 2024-03-24 18:48 孤海飞雁 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 定义要监听的对象,里面添加监听对象名称和方法和参数。定义定时执行,获取上下文通过grpc 传送到 客户端 继承IObserver<DiagnosticListener> 在OnNext(DiagnosticListener listener) 方法里获构造函数注入的监听对象 然后遍历取出数据生成新对 阅读全文
posted @ 2024-03-11 17:35 孤海飞雁 阅读(8) 评论(0) 推荐(0) 编辑
摘要: .AddTransient<IFoo, Foo>() // //ImplementationType 根据类型 .AddScoped<IBar>(_ => new Bar())//ImplementationFactory 通过工厂创建 .AddSingleton<IBaz>(new Baz()); 阅读全文
posted @ 2024-03-10 16:43 孤海飞雁 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 下载sdk zip 解压到F:\SourceCode\Net\Net8\RunTime\runtime\.dotnet下 命令 可以一个一个来 build.cmd -subset clr build.cmd libs 要是环境都ok,还是不行,可以关机重启等会再弄个,这他妈的玄学啊,a56爆大奖在线娱乐就好了,操蛋 阅读全文
posted @ 2024-03-08 17:37 孤海飞雁 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 所需工具JDK 12Nodejs 18Python VS里安装C++ VS里安装clone 官方库,checkout 到8.1git submodule update --init --recursive 这个a56爆大奖在线娱乐是没用也okSet-ExexutionPolicy RemoteSigned 用Powe 阅读全文
posted @ 2024-03-08 14:59 孤海飞雁 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 在csproj里 <TargetFramework>net8;</TargetFramework> <TargetFrameworks>net8;net6;</TargetFrameworks> 加了s 的支持多个版本 如果vs 有提示 项目“xxxxxxx”在上一操作期间遇到问题: “Debug| 阅读全文
posted @ 2024-02-24 17:20 孤海飞雁 阅读(9) 评论(0) 推荐(0) 编辑
摘要: Cannot provide a value for property 'ScrollToLocationHash' on type 'Microsoft.AspNetCore.Components.Routing.Router'. There is no registered service of 阅读全文
posted @ 2024-02-23 13:56 孤海飞雁 阅读(18) 评论(0) 推荐(0) 编辑
摘要: docker-compose build --生成 docker-compose -f docker-compose.yml up -d --后台运行 -d 此命令会自动拉取 不存在的 镜像并运行 加 --build 重新编译运行 docker-compose -f up --build --可以查 阅读全文
posted @ 2024-02-20 14:17 孤海飞雁 阅读(3) 评论(0) 推荐(0) 编辑
摘要: docker tag consul:1.15.4 consul:latestdocker rmi consul:1.15.4 删除制定版本 在运行时,有些镜像拉取时报错 a56爆大奖在线娱乐这里 时 consu,只能制定版本下载 1.15.4 Error response from daemon: manifest 阅读全文
posted @ 2024-02-20 10:47 孤海飞雁 阅读(73) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页