显卡驱动安装和深度学习环境搭建,可以参考笔者的文章: https://www.whuanle.cn/archives/21624 https://torch.whuanle.cn/01.base/01.env.html 测试环境 AMD EPYC 7V13 64-Core 24核 220GB 内存 [......] 继续阅读
显卡驱动安装和深度学习环境搭建,可以参考笔者的文章: https://www.whuanle.cn/archives/21624 https://torch.whuanle.cn/01.base/01.env.html 测试环境 AMD EPYC 7V13 64-Core 24核 220GB 内存 [......] 继续阅读
显卡驱动安装和深度学习环境搭建,可以参考笔者的文章: https://www.whuanle.cn/archives/21624 https://torch.whuanle.cn/01.base/01.env.html Testing Environment AMD EPYC 7V13 64-Cor[......] 继续阅读
As shown in the figure: There are two configuration forms. One is to configure the template file within the project (for executable projects, not app[......] 继续阅读
如图: 有两种配置形式。 一种是在项目中(可以启动的项目,类库不行)配置模板文件,另一种是在项目编译之后配置。 第一种方法在项目中新建一个 runtimeconfig.template.json 文件。 示例如下: { "runtimeOptions": { "configProper[......]继续阅读
From ServerlessWorkflow, I learned an interesting configuration for NewtonsoftJson. var newtonsoftJsonDefaultConfig = (JsonSerializerSetti[......]继续阅读
从 ServerlessWorkflow 中学习到一个有趣的 NewtonsoftJson 配置。 var newtonsoftJsonDefaultConfig = (JsonSerializerSettings settings) => {[......]继续阅读
Background In Windows, applications can use the app.manifest asset file to configure the role permissions used when the program is launched. The effec[......] 继续阅读
问题背景 在 Windows 中,开发的应用可以使用 app.manifest 资产文件配置程序启动时,使用何种角色权限启动。 效果如下: 正常情况下,在 app.manifest 加上以下配置即可: 如果项目中没有这个文件,可以在项目中新建项-清单文件。 <trustInfo xm[......]继续阅读
主要特点: 1,根据当前环境加载 appsettings.xxx.json 文件,或者加载其它 .json 配置文件。 2,AddCommandLine、AddEnvironmentVariables 从程序启动命令行参数和环境变量中导入配置。命令行参数需要以键值的形式填入,如 key1=value[......] 继续阅读
主要特点: 1,根据当前环境加载 appsettings.xxx.json 文件,或者加载其它 .json 配置文件。 2,AddCommandLine、AddEnvironmentVariables 从程序启动命令行参数和环境变量中导入配置。命令行参数需要以键值的形式填入,如 key1=value[......] 继续阅读
Common JSON serialization configuration is as follows: // JSON serialization configuration private static readonly JsonSerializerOpti[......]继续阅读
常用的 Json 序列化配置如下: // json 序列化配置 private static readonly JsonSerializerOptions JsonSetting = new JsonSerializerOptions() {[......]继续阅读
Docker If you configure a Docker private repository using Nexus but do not set the correct address for Docker, you will receive the following error wh[......] 继续阅读
Docker 如果使用 Nexus 配置 Docker 私有仓库,但是 Docker 不配置好地址,那么拉取镜像时会提示: Error response from daemon: Get https://192.168.0.111:666/v2/: http: server gave HTTP re[......]继续阅读
Introduction to ABP Series (6): Database Configuration Copyright © Author: whuanle, reproduction of articles from WeChat public account requires conse[......] 继续阅读
浅入 ABP 系列(6):数据库配置 版权护体©作者:痴者工良,微信公众号转载文章需要 《NCC开源社区》同意。 浅入 ABP 系列(6):数据库配置 创建标准的 EFCore 数据库上下文 连接字符串 定义隔离的上下文 多数据库支持和配置 Freesql 配置服务 本系列的第五篇:[......] 继续阅读
ASP.NET Core 中,可以使用 ConfigurationBuilder 对象来构建。 主要分为三部:配置数据源 -> ConfigurationBuilder -> 使用。 数据源可来自字典或配置文件。 数据源要么继承 IConfigurationSource ,要么从配置文件[......] 继续阅读
ASP.NET Core provides the ConfigurationBuilder object for building configurations. It mainly consists of three steps: configuring the data source ->[......] 继续阅读
Startup 中,添加一个静态变量 readonly string MyAllowSpecificOrigins = "_myAllowSpecificOrigins"; services 中配置全局放通 services.AddCors[......]继续阅读
In a Startup class, add a static variable: readonly string MyAllowSpecificOrigins = "_myAllowSpecificOrigins"; Configure global COR[......] 继续阅读