This is an automated email from the ASF dual-hosted git repository.
aaronai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
The following commit(s) were added to refs/heads/master by this push:
new 205882c8 Polish readme
205882c8 is described below
commit 205882c8ce18a806e5b36eb5672e27659e6a2371
Author: Aaron Ai <[email protected]>
AuthorDate: Thu Mar 16 16:38:11 2023 +0800
Polish readme
---
csharp/README-CN.md | 8 +++++---
csharp/README.md | 7 ++++---
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/csharp/README-CN.md b/csharp/README-CN.md
index dcc6a63a..86bde40f 100644
--- a/csharp/README-CN.md
+++ b/csharp/README-CN.md
@@ -4,10 +4,12 @@
## 最小版本支持
-支持.NET 5+ 和 .NET Core 3.1。
+支持 .NET 5+ 和 .NET Core 3.1。
-由于.NET 5 在 2020 年的发布,统一了.NET Framework 和 .NET Core ,并逐渐成为 .NET
开发的主流平台。我们强烈推荐使用 .NET
-5 访问 RocketMQ,但是与此同时我们也支持使用 .NET Core 3.1。如果您想使用 .NET Core 3.1 接入
RocketMQ,请在运行之前添加以下代码。
+由于 .NET 5 在 2020 年的发布,统一了.NET Framework 和 .NET Core ,并逐渐成为 .NET
开发的主流平台。我们强烈推荐使用 .NET 5+
+访问 RocketMQ。
+
+与此同时我们也支持 .NET Core 3.1。如果您想使用 .NET Core 3.1 接入 RocketMQ,请在运行之前添加以下代码。
```csharp
AppContext.SetSwitch("System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupport",
true)
diff --git a/csharp/README.md b/csharp/README.md
index 06babac7..1deea55c 100644
--- a/csharp/README.md
+++ b/csharp/README.md
@@ -7,9 +7,10 @@ English | [简体中文](README-CN.md) | [RocketMQ
Website](https://rocketmq.apa
.NET 5+ and .NET Core 3.1 is supported.
Due to the release of .NET 5 in 2020, which unified .NET Framework and .NET
Core, and has gradually become the
-mainstream platform for .NET development. We strongly recommend using .NET 5
to access RocketMQ, and we also support
-accessing it using .NET Core 3.1. If you want to access it using .NET Core
3.1, please add the following code before
-running it.
+mainstream platform for .NET development. We strongly recommend using .NET 5+
to access RocketMQ.
+
+We also support accessing RocketMQ using .NET Core 3.1. If you prefer .NET
Core 3.1, please add the following code
+before running it.
```csharp
AppContext.SetSwitch("System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupport",
true)