diff --git a/Samples/readme.md b/Samples/readme.md index 9c27cac9cc..b00338f34f 100644 --- a/Samples/readme.md +++ b/Samples/readme.md @@ -11,8 +11,6 @@ |[All](/Samples/All/) | 包含微信公众号、小程序、微信支付、企业微信等所有功能的混合场景演示,
推荐用于集成多个平台的项目,或许要进行深度开发的场景参考(进阶) | | ┣ [All/console](/Samples/All/console) |命令行 Console Demo(.NET Core)| Nuget 包 | ┣ [All/net45-mvc](/Samples/All/net45-mvc) |可以直接发布使用的 Demo(.NET Framework 4.5 + ASP.NET MVC)| Nuget 包 -| ┣ [All/net6-mvc](/Samples/All/net6-mvc) |可以直接发布使用的 Demo(.NET 6.0),兼容 .NET 5.0 和 .NET Core | 源码 -| ┣ [All/net7-mvc](/Samples/All/net7-mvc) |可以直接发布使用的 Demo(.NET 7.0),兼容 .NET 5.0、6.0 和 .NET Core | 源码 | ┣ [All/net8-mvc](/Samples/All/net8-mvc) |可以直接发布使用的 Demo(.NET 8.0),兼容 .NET 5.0、6.0、7.0 和 .NET Core | 源码(最新) | ┗ [All/Senparc.Weixin.
Sample.CommonService](/Samples/All/Senparc.Weixin.Sample.CommonService) | 所有 `All` 文件夹下的 Sample 公用的类库和逻辑代码 | |[MP](/Samples/MP/) | 公众号 | Nuget 包 diff --git a/readme.en.md b/readme.en.md index 02b21e2b97..fb415cc355 100644 --- a/readme.en.md +++ b/readme.en.md @@ -2,6 +2,7 @@ Senparc.Weixin —— WeChat .NET SDK ================= + [![Build status](https://mysenparc.visualstudio.com/Senparc%20SDK/_apis/build/status/Weixin%20SDK/Senparc.Weixin%20Dev-%E5%86%85%E9%83%A8-%E8%87%AA%E5%8A%A8-.Net6)](https://mysenparc.visualstudio.com/Senparc%20SDK/_build/latest?definitionId=36) [![NuGet](https://img.shields.io/nuget/dt/Senparc.Weixin.svg)](https://www.nuget.org/packages/Senparc.Weixin) [![GitHub commit activity the past week, 4 weeks, year](https://img.shields.io/github/commit-activity/4w/JeffreySu/WeiXinMPSDK.svg)](https://github.com/JeffreySu/WeiXinMPSDK/commits/master) @@ -27,6 +28,8 @@ Senparc.Weixin —— WeChat .NET SDK [![Senparc.WebSocket](https://img.shields.io/nuget/vpre/Senparc.WebSocket?label=Senparc.WebSocket)](https://www.nuget.org/packages/Senparc.WebSocket/) + + [[中文]](readme.md) With Senparc.Weixin, you can easily and quickly develop applications for the Wechat platform, including Wechat Official Accounts, Mini Programs, Mini Games, Enterprise Accounts, Open Platforms, Wechat Pay, JS-SDK, Wechat Hardware/Bluetooth, and more. The demo of this project is also suitable for beginners to learn .NET programming. @@ -336,8 +339,6 @@ From the following samples, you can learn about the configuration and usage of e |[All](/Samples/All/) | A mixed scenario demonstration that includes all functions of WeChat Official Accounts, Mini Programs, WeChat Pay, Enterprise Accounts, etc., recommended for projects that integrate multiple platforms or require deep development (advanced) | | ┣ [All/console](/Samples/All/console) |Command Line Console Demo (.NET Core)| NuGet Package | ┣ [All/net45-mvc](/Samples/All/net45-mvc) |Demo that can be directly published and used (.NET Framework 4.5 + ASP.NET MVC)| NuGet Package -| ┣ [All/net6-mvc](/Samples/All/net6-mvc) |Demo that can be directly published and used (.NET 6.0), compatible with .NET 5.0 and .NET Core | Source Code -| ┣ [All/net7-mvc](/Samples/All/net7-mvc) |Demo that can be directly published and used (.NET 7.0), compatible with .NET 5.0, 6.0, and .NET Core | Source Code | ┗ [All/net8-mvc](/Samples/All/net8-mvc) |Demo that can be directly published and used (.NET 8.0), compatible with .NET 5.0, 6.0, 7.0, and .NET Core | Source Code [Enter Samples Folder](/Samples/) @@ -572,9 +573,7 @@ Starting from v0.4.0, MessageHandler adds support for user session context to so > The current branch includes the full version of .NET Framework 4.6.2+ and .NET 6.0/7.0/8.0 code (snapshot of versions that are no longer updated can be found in [release](https://github.com/JeffreySu/WeiXinMPSDK/releases)).
> The Demo for .NET Framework is located in the `/src/Samples/All/net45-mvc` directory, and
> 【Recommended】The Demo for .NET 8.0 (compatible with .NET 5.0, 6.0, 7.0, and .NET Core 3.1 and lower versions) is located in the `/Samples/All/net8-mvc` directory.

-> Note:
-> 1. In the above Samples, the `net8-mvc` Sample directly references the source code of each module, and can generate a Senaprc.Weixin SDK library compatible with different versions after being compiled with `Release`.
-> 2. You can also use the Demo for .NET 6.0 (compatible with .NET 5.0 and .NET Core 3.1 and lower versions) located in the `/Samples/All/net6-mvc` directory if you want. +> Note: In the above Samples, the `net8-mvc` Sample directly references the source code of each module, and can generate a Senaprc.Weixin SDK library compatible with different versions after being compiled with `Release`. ## ↕️ Install via Nuget to the project diff --git a/readme.md b/readme.md index c2157d843f..17c1472ad9 100644 --- a/readme.md +++ b/readme.md @@ -361,8 +361,6 @@ Senparc.Weixin SDK 所有的模块的用法都保持了高度的一致,包括 |[All](/Samples/All/) | 包含微信公众号、小程序、微信支付、企业微信等所有功能的混合场景演示,
推荐用于集成多个平台的项目,或许要进行深度开发的场景参考(进阶) | | ┣ [All/console](/Samples/All/console) |命令行 Console Demo(.NET Core)| Nuget 包 | ┣ [All/net45-mvc](/Samples/All/net45-mvc) |可以直接发布使用的Demo(.NET Framework 4.5 + ASP.NET MVC)| Nuget 包 -| ┣ [All/net6-mvc](/Samples/All/net6-mvc) |可以直接发布使用的 Demo(.NET 6.0),兼容 .NET 5.0 和 .NET Core | 源码 -| ┣ [All/net7-mvc](/Samples/All/net7-mvc) |可以直接发布使用的 Demo(.NET 7.0),兼容 .NET 5.0、6.0 和 .NET Core | 源码 | ┗ [All/net8-mvc](/Samples/All/net8-mvc) |可以直接发布使用的 Demo(.NET 8.0),兼容 .NET 5.0、6.0、7.0 和 .NET Core | 源码(最新) [进入 Samples 文件夹](/Samples/) @@ -599,9 +597,7 @@ namespace Senparc.Weixin.MP.Sample.CustomerMessageHandler > 当前分支包含了 .NET Framework 4.6.2+ 及 .NET 6.0/7.0/8.0 的全版本代码(已经不更新的版本请查看 [release](https://github.com/JeffreySu/WeiXinMPSDK/releases) 快照)。
> 其中 .NET Framework 的 Demo 位于 `/src/Samples/All/net45-mvc` 目录下,
> 【推荐】.NET 8.0(向下兼容 .NET 5.0、6.0、7.0 及 .NET Core 3.1 等更低版本) 的 Demo 位于 `/Samples/All/net8-mvc` 目录下。

-> 注意:
-> 1. 以上 Sample 中,`net8-mvc` 中的 Sample 直接引用了每个模块的源码,使用 `Release` 编译后可生成兼容不同版本的 Senaprc.Weixin SDK 库。
-> 2. 您也可以使用 .NET 6.0(向下兼容 .NET 5.0 及 .NET Core 3.1 等更低版本) 的 Demo 位于 `/Samples/All/net6-mvc` 目录下。 +> 注意:以上 Sample 中,`net8-mvc` 中的 Sample 直接引用了每个模块的源码,使用 `Release` 编译后可生成兼容不同版本的 Senaprc.Weixin SDK 库。 ## ↕️ 使用Nuget安装到项目中