03 2024 档案

摘要:1 AddJsonFile("appsettings.json", optional: true, reloadOnChange: true); 最后 ConfigurationBuilder 添加addjson的信息,存到集合 IList<IConfigurationSource>里 2 buil 阅读全文
posted @ 2024-03-28 18:01 孤海飞雁 阅读(162) 评论(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 孤海飞雁 阅读(31) 评论(0) 推荐(0) 编辑
摘要:定义要监听的对象,里面添加监听对象名称和方法和参数。定义定时执行,获取上下文通过grpc 传送到 客户端 继承IObserver<DiagnosticListener> 在OnNext(DiagnosticListener listener) 方法里获构造函数注入的监听对象 然后遍历取出数据生成新对 阅读全文
posted @ 2024-03-11 17:35 孤海飞雁 阅读(15) 评论(0) 推荐(0) 编辑
摘要:.AddTransient<IFoo, Foo>() // //ImplementationType 根据类型 .AddScoped<IBar>(_ => new Bar())//ImplementationFactory 通过工厂创建 .AddSingleton<IBaz>(new Baz()); 阅读全文
posted @ 2024-03-10 16:43 孤海飞雁 阅读(26) 评论(0) 推荐(0) 编辑
摘要:20241008 这里会很久才会出现这个错误,应该是要挂梯子 下载sdk zip 解压到F:\SourceCode\Net\Net8\RunTime\runtime\.dotnet下 命令 可以一个一个来 build.cmd -subset clr build.cmd libs 要是环境都ok,还是 阅读全文
posted @ 2024-03-08 17:37 孤海飞雁 阅读(163) 评论(0) 推荐(0) 编辑
摘要:所需工具JDK 12Nodejs 18Python VS里安装C++ VS里安装clone 官方库,checkout 到8.1git submodule update --init --recursive 这个我是没用也okSet-ExexutionPolicy RemoteSigned 用Powe 阅读全文
posted @ 2024-03-08 14:59 孤海飞雁 阅读(26) 评论(0) 推荐(0) 编辑

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