Back to Weixinmpsdk

Libraries and Components

docs/en/guide/lib.md

2025.12.0222.1 KB
Original Source

Libraries and Components

Senparc.Weixin SDK

The basic SDK for each WeChat platform, contains most of the APIs of the current WeChat platform, and the focus of WeChat development is on the use of these libraries.

#Function ModuleNuget Package NameNuget VersionCurrent Site Runtime Version.NET 4.6.2.NET Core 2.x / 3.x.NET 6.0 / 7.0
1SDK Public Base LibrarySenparc.Weixinv6.16.3
2MP JSSDK Shake AroundSenparc.Weixin.MPv16.19.2
3MP MvcExtensionSenparc.Weixin.MP.Mvcv7.12.12
4WxOpenSenparc.Weixin.WxOpenv3.16.2
5TenpaySenparc.Weixin.TenPayv1.12.13
6TenPay V3(new)Senparc.Weixin.TenPayV3v0.7.10
7Open PlatformSenparc.Weixin.Openv4.14.25
8Enterprise WeixinSenparc.Weixin.Workv3.16.2

ASP.NET Runtime Base Libraries for Senparc.Weixin SDK

These libraries are based on the ASP.NET runtime and rely on a number of ASP.NET features to perform a number of ASP.NET and ASP.NET Core based operations. Another reason for separating these libraries is so that the Senparc.Weixin SDK core libraries can be deployed independently of the ASP.NET runtime. Weixin SDK core libraries can be deployed in specialised environments such as lightweight containers (e.g. Docker), the command line (Console), the desktop (Desktop / WinForm / WPF / Blazor / MAUI / UWP), or even mobile applications (Apps).

#Function ModuleNuget Package NameNuget VersionCurrent Site Runtime Version.NET 4.6.2.NET Core 2.x / 3.x.NET 6.0 / 7.0
1ASP.NET Runtime Base LibrarySenparc.Weixin.AspNetv1.0.4
2Public Message MiddlewareSenparc.Weixin.MP.Middlewarev1.0.5
3Applet Messaging MiddlewareSenparc.Weixin.WxOpen.Middlewarev1.0.5
4Enterprise Weixin Messaging MiddlewareSenparc.Weixin.Work.Middlewarev1.0.5

Senparc.Weixin SDK Extensions

Senparc.Weixin SDK extensions are used to provide a series of extension modules such as caching, WebSocket, etc. These modules are a part of the official Senparc.Weixin SDK. These modules are an official implementation of Senparc, and almost all extensions are strictly interface oriented.Therefore, you can also extend and interface to WeChat SDK or other systems.

#Function ModuleNuget Package NameNuget VersionCurrent Site Runtime Version.NET 4.6.2.NET Core 2.x / 3.x.NET 6.0 / 7.0
1Redis Cache (StackExchange.Redis)Senparc.Weixin.Cache.Redisv2.15.12
2Redis Cache (CsRedis)Senparc.Weixin.Cache.CsRedisv0.8.12
3Memcached CacheSenparc.Weixin.Cache.Memcachedv2.13.12
4WebSocket ModuleSenparc.WebSocketv0.17.12

Cross-Platform Support Library: Senparc.NeuChar

NeuChar is a set of standards for cross-platform services (e.g., cross-WeChat, WeChat Applet, Nail, QQ Applet, Baidu Applet, etc.) provided by Senparc. Use one set of code to serve multiple platforms at the same time. Currently, Senparc.Weixin SDK is an implementation of the NeuChar standard for WeChat. You can also use NeuChar to extend to more platforms. https://www.neuchar.com is a visual cross-platform configuration platform based on the NeuChar standard provided by Senparc.

#Function ModuleNuget Package NameNuget VersionCurrent Site Runtime Version.NET 4.6.2.NET Core 2.x / 3.x.NET 6.0 / 7.0
1NeuChar Cross-platform Support librarySenparc.NeuCharv2.3.1
2NeuChar APP and NeuChar EndingSenparc.NeuChar.Appv1.3.1
3NeuChar's ASP.NET Runtime Support LibrariesSenparc.NeuChar.AspNetv1.3.2

Underlying Public Foundation Library: Senparc.CO2NET

Senparc.CO2NET is a public base extension library for the .NET Framework and .NET Core, containing the basic helper classes needed for regular development. Developers can use CO2NET directly to provide public base methods to their projects, eliminating the need to repeatedly prepare and maintain public code. You can use CO2NET in almost any project. view source

#Function ModuleNuget Package NameNuget VersionCurrent Site Runtime Version.NET 4.6.2.NET Core 2.x / 3.x.NET 6.0 / 7.0
1CO2NET Base LibrarySenparc.CO2NETv2.2.1
2APM LibrariesSenparc.CO2NET.APMv1.2.5
3Redis Libraries (StackExchange.Redis)Senparc.CO2NET.Cache.Redisv4.1.4
4Redis Library (CSRedis)Senparc.CO2NET.Cache.CsRedisv1.1.5
5Memcached LibrarySenparc.CO2NET.Cache.Memcachedv4.1.4
6CO2NET for ASP.NETSenparc.CO2NET.AspNetv1.1.5
7WebApi Engine Library (new)Senparc.CO2NET.WebApiv1.4.2