上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: .AddTransient<IFoo, Foo>() // //ImplementationType 根据类型 .AddScoped<IBar>(_ => new Bar())//ImplementationFactory 通过工厂创建 .AddSingleton<IBaz>(new Baz()); 阅读全文
posted @ 2024-03-10 16:43 孤海飞雁 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 下载sdk zip 解压到F:\SourceCode\Net\Net8\RunTime\runtime\.dotnet下 所需插件 jdk node python cmake ninja sdk 都配置下环境变量 然后执行就行 编译成功 下载 Cmake 安装 添加ninja,并配置环境变量 删除F 阅读全文
posted @ 2024-03-08 17:37 孤海飞雁 阅读(8) 评论(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 孤海飞雁 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 在csproj里 <TargetFramework>net8;</TargetFramework> <TargetFrameworks>net8;net6;</TargetFrameworks> 加了s 的支持多个版本 如果vs 有提示 项目“xxxxxxx”在上一操作期间遇到问题: “Debug| 阅读全文
posted @ 2024-02-24 17:20 孤海飞雁 阅读(6) 评论(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:57 孤海飞雁 阅读(8) 评论(0) 推荐(0) 编辑
摘要: docker-compose build --生成 docker-compose -f docker-compose.yml up -d --后台运行 -d 此命令会自动拉取 不存在的 镜像并运行 阅读全文
posted @ 2024-02-20 14:17 孤海飞雁 阅读(2) 评论(0) 推荐(0) 编辑
摘要: docker tag consul:1.15.4 consul:latestdocker rmi consul:1.15.4 删除制定版本 在运行时,有些镜像拉取时报错 我这里 时 consu,只能制定版本下载 1.15.4 Error response from daemon: manifest 阅读全文
posted @ 2024-02-20 10:47 孤海飞雁 阅读(24) 评论(0) 推荐(0) 编辑
摘要: docker pull mcr.microsoft.com/mssql/server:2019-latest --拉取 docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=MyName2024" -p 14330:1433 --name sql1 阅读全文
posted @ 2024-02-19 18:42 孤海飞雁 阅读(41) 评论(0) 推荐(0) 编辑
摘要: docker-compose build docker builder prune 清楚缓存,释放空间 阅读全文
posted @ 2024-02-18 19:58 孤海飞雁 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 这里删除项目目录下的 git解决。也是操蛋,没往也没注意git这里想,搞了半天,操蛋啊 检查下 docker-compose.yml 文件内的内容,我的是去除注释时大小写更改导致的 阅读全文
posted @ 2024-02-18 19:54 孤海飞雁 阅读(11) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页