Workflow Core's Json Notes The design project stores those step points in a separate project, generating a separate dll. The JSON is as follows: { "Id": "HelloWorld11", "Version": 1, "Steps": [ { "Id": "He…
Workflow Core's Json Notes The design project stores those step points in a separate project, generating a separate dll. The JSON is as follows: { "Id": "HelloWorld11", "Version": 1, "Steps": [ { "Id": "He…
Workflow Core 的Json笔记 1,设计项目是,由单独的项目存储那些步骤点,生成单独的dll json如下 { "Id": "HelloWorld11", "Version": 1, "Steps": [ { "Id": "Hello", "StepType": "Test6.Steps.HelloWorld, Test6", "Nex…
NuGet Packages The ILogger and ILoggerFactory interfaces are located in Microsoft.Extensions.Logging.Abstractions, with their default implementation found in Microsoft.Extensions.Logging. Log Category There are two ways to specify the category: one is using cl…
https://docs.microsoft.com/zh-cn/aspnet/core/fundamentals/logging/?view=aspnetcore-2.2#nuget-packages NuGet 包 ILogger 和 ILoggerFactory 接口位于 Microsoft.Extensions.Logging.Abstractions 中,其默认实现位于 Microsoft.Extensions.Logging 中。 日志类别 有两种指定方式,一种是类对象,一种是手动创建。 创建 ILog…
有两种配置方式,一种是 DbContext 构造函数和依赖注入同时使用。 public void ConfigureServices(IServiceCollection services) 另一种是在 OnConfiguring 内配置使用。 [......] 继续阅读
https://docs.microsoft.com/zh-cn/ef/core/miscellaneous/configuring-dbcontext 有两种配置方式,一种是 Dbcontext 构造函数和依赖注入同时使用。 public void ConfigureServices(IServiceCollection services) 一种是在OnConfiguring内配置使用 [......] 继续阅读
Document Address https://wiki.ubuntu.org.cn/PostgreSQL Linux Installation of PostgreSQL https://www.postgresql.org/download/ The configuration files for the PostgreSQL database are located in /var/lib/pgsql/{version_number}/data For example, /var/lib/pgsql/11/…
文档地址 https://wiki.ubuntu.org.cn/PostgreSQL Linux安装 Postgresql https://www.postgresql.org/download/ PostgreSQL数据库配置文件在 /var/lib/pgsql/{版本号}/data 例如/var/lib/pgsql/11/data pg_hba.conf:配置对数据库的访问权限, postgresql.conf:配置PostgreSQL数据库服务器的相应的参数。 [......] 继续阅读
Parallel ForEach Equivalent to the foreach loop in C# Parallel Tasks Concurrent and parallel execution, where several steps within it run simultaneously rather than in sequence. Saga Transactions Transactions that have rollback operations. Scheduled Background…
Parallel ForEach 相当于C# 的foreach 循环 Parallel Tasks 并发、平行运行,在其内的几个步骤,会同时运行,而不是按顺序运行。 Saga Transactions 事务,具有回滚操作 Scheduled Background Tasks 后台异步定时加载。将一个任务放到后台托管,设置定时执行时间。 Recurring Background Tasks 后台定时执行,定时执行一些任务,直到不符合某个条件为止。 [......] 继续阅读
class Program { static void Main(string[] args) { IA aAs = new A(); foreach (var i in aAs) { Console.WriteLine(i.Name); } Console.ReadKey(); } } public class AA { public in[......]继续阅读
class Program { static void Main(string[] args) { IA aAs = new A(); foreach (var i in aAs) { Console.WriteLine(i.Name); } Console.ReadKey(); } } public class AA { public int Name { get; set; } public int Age { get; set; } } publ[......]继续阅读
Get the PostgreSQL image docker pull postgres Start PostgreSQL docker run --name db -e POSTGRES_USER=sonar -e POSTGRES_PASSWORD=sonar -d postgres Get the SonarQube image docker pull sonarqube Start SonarQube docker run --name sq --link db -e SONARQUBE_JDBC_URL…
1、获取 postgresql 的镜像 docker pull postgres 2、启动 postgresql docker run --name db -e POSTGRES_USER=sonar -e POSTGRES_PASSWORD=sonar -d postgres 3、获取 sonarqube 的镜像 docker pull sonarqube 4、启动 sonarqube docker run --name sq --link db -e SONARQUBE_JDBC_URL=jdbc:postgr…
在 打开控制面板 - 系统 - 高级系统设置,打开环境变量设置,然后添加环境变量 C:\Users\pz\AppData\Roaming\npm 重启机器,即可使用此命令。 打开 C:\Users\pz\AppData\Roaming\npm 可以看到安装的软件 [......] 继续阅读