Savorboard пре 4 година
родитељ
комит
8215dd51c5
8 измењених фајлова са 27 додато и 6 уклоњено
  1. +1
    -1
      docs/content/index.md
  2. +3
    -0
      docs/content/user-guide/en/persistent/sqlserver.md
  3. +1
    -3
      docs/content/user-guide/en/transports/azure-service-bus.md
  4. +2
    -1
      docs/content/user-guide/en/transports/in-memory-queue.md
  5. +1
    -1
      docs/content/user-guide/en/transports/kafka.md
  6. +8
    -0
      docs/content/user-guide/en/transports/rabbitmq.md
  7. +3
    -0
      docs/content/user-guide/zh/persistent/sqlserver.md
  8. +8
    -0
      docs/content/user-guide/zh/transports/rabbitmq.md

+ 1
- 1
docs/content/index.md Прегледај датотеку

@@ -2,7 +2,7 @@ Title: CAP - A distributed transaction solution in micro-service base on eventua

# CAP

<img height="140" align="right" src="https://cap.dotnetcore.xyz/img/logo.svg">
<img width="140" align="right" src="https://cap.dotnetcore.xyz/img/logo.svg">
[![Travis branch](https://img.shields.io/travis/dotnetcore/CAP/master.svg?label=travis-ci)](https://travis-ci.org/dotnetcore/CAP)
[![AppVeyor](https://ci.appveyor.com/api/projects/status/v8gfh6pe2u2laqoa/branch/master?svg=true)](https://ci.appveyor.com/project/yuleyule66/cap/branch/master)
[![NuGet](https://img.shields.io/nuget/v/DotNetCore.CAP.svg)](https://www.nuget.org/packages/DotNetCore.CAP/)


+ 3
- 0
docs/content/user-guide/en/persistent/sqlserver.md Прегледај датотеку

@@ -2,6 +2,9 @@

SQL Server is a relational database management system developed by Microsoft. CAP has supported SQL Server as persistent.

!!! warning "Warning"
We currently use `Microsoft.Data.SqlClient` as the database driver, which is the future of SQL Server drivers, and we have abandoned `System.Data.SqlClient`, we suggest you switch into.

## Configuration

To use SQL Server storage, you need to install the following extensions from NuGet:


+ 1
- 3
docs/content/user-guide/en/transports/azure-service-bus.md Прегледај датотеку

@@ -14,9 +14,7 @@ To use Azure Service Bus as a message transport, you need to install the followi
```powershell
PM> Install-Package DotNetCore.CAP.AzureServiceBus
```

Then you can add memory-based configuration items to the `ConfigureServices` method of `Startup.cs`.

Next, add configuration items to the `ConfigureServices` method of `Startup.cs`:

```csharp



+ 2
- 1
docs/content/user-guide/en/transports/in-memory-queue.md Прегледај датотеку

@@ -10,7 +10,8 @@ To use In Memory Queue as a message transporter, you need to install the followi
PM> Install-Package Savorboard.CAP.InMemoryMessageQueue

```
Then you can add memory-based configuration items to the `ConfigureServices` method of `Startup.cs`.

Next, add configuration items to the `ConfigureServices` method of `Startup.cs`:

```csharp



+ 1
- 1
docs/content/user-guide/en/transports/kafka.md Прегледај датотеку

@@ -13,7 +13,7 @@ PM> Install-Package DotNetCore.CAP.Kafka

```

Then you can add memory-based configuration items to the `ConfigureServices` method of `Startup.cs`.
Then you can add configuration items to the `ConfigureServices` method of `Startup.cs`.

```csharp



+ 8
- 0
docs/content/user-guide/en/transports/rabbitmq.md Прегледај датотеку

@@ -64,4 +64,12 @@ services.AddCap(x =>
});
});

```

#### How to connect cluster

using comma split connection string, like this:

```
x=> x.UseRabbitMQ("localhost:5672,localhost:5673,localhost:5674")
```

+ 3
- 0
docs/content/user-guide/zh/persistent/sqlserver.md Прегледај датотеку

@@ -2,6 +2,9 @@

SQL Server 是由微软开发的一个关系型数据库,你可以使用 SQL Server 来作为 CAP 消息的持久化。

!!! warning "注意"
我们目前使用 `Microsoft.Data.SqlClient` 作为数据库驱动程序,它是SQL Server 驱动的未来,并且已经放弃了 `System.Data.SqlClient`,我们建议你切换过去。

## 配置

要使用 SQL Server 存储,你需要从 NuGet 安装以下扩展包:


+ 8
- 0
docs/content/user-guide/zh/transports/rabbitmq.md Прегледај датотеку

@@ -66,3 +66,11 @@ services.AddCap(x =>
});

```

#### 如何连接 RabbitMQ 集群?

使用逗号分隔连接字符串即可,如下:

```
x=> x.UseRabbitMQ("localhost:5672,localhost:5673,localhost:5674")
```

Loading…
Откажи
Сачувај