PlumX.Core.CAP.MySql
1.0.0-preview.7
This is a prerelease version of PlumX.Core.CAP.MySql.
dotnet add package PlumX.Core.CAP.MySql --version 1.0.0-preview.7
NuGet\Install-Package PlumX.Core.CAP.MySql -Version 1.0.0-preview.7
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PlumX.Core.CAP.MySql" Version="1.0.0-preview.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PlumX.Core.CAP.MySql" Version="1.0.0-preview.7" />
<PackageReference Include="PlumX.Core.CAP.MySql" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PlumX.Core.CAP.MySql --version 1.0.0-preview.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PlumX.Core.CAP.MySql, 1.0.0-preview.7"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package PlumX.Core.CAP.MySql@1.0.0-preview.7
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PlumX.Core.CAP.MySql&version=1.0.0-preview.7&prerelease
#tool nuget:?package=PlumX.Core.CAP.MySql&version=1.0.0-preview.7&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
PlumX.Core.CAP.MySql
NuGet 包 ID:
PlumX.Core.CAP.MySql
定位
为 PlumX.Core.CAP 提供 MySQL 持久化 provider,保存 CAP 发布和订阅状态。
使用
- 目标框架:
net8.0 - 依赖:
PlumX.Core.CAP、DotNetCore.CAP.MySql - 需要 MySQL 连接字符串及 CAP 表初始化权限。
数据库连接和表前缀由应用注册 CAP 时配置,本项目不自动创建业务 DbContext。
配置中心
本项目不新增配置节;应用仍使用 PlumX.Core.CAP 的 CAP 节。将 CAP:CapDBType 设为 MySql,并通过 CAP:CapDBConnectionString 提供连接字符串。该节可以由 Nacos/Consul 配置中心覆盖,字段、默认值和敏感值规则见 PlumX.Core.CAP README。
完整使用示例
与 CAP Core 组合注册 MySQL 持久化的代码见 模块使用示例。
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- DotNetCore.CAP (>= 8.4.1)
- DotNetCore.CAP.MySql (>= 8.4.1)
- PlumX.Core.CAP (>= 1.0.0-preview.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-preview.7 | 52 | 9/2/2026 |
| 1.0.0-preview.6 | 59 | 9/1/2026 |
| 1.0.0-preview.5 | 57 | 8/31/2026 |
| 1.0.0-preview.4 | 63 | 8/19/2026 |
| 1.0.0-preview.3 | 58 | 8/18/2026 |
| 1.0.0-preview.1 | 71 | 8/14/2026 |