Sparkdo.Communication
2.0.0-preview.2
This is a prerelease version of Sparkdo.Communication.
dotnet add package Sparkdo.Communication --version 2.0.0-preview.2
NuGet\Install-Package Sparkdo.Communication -Version 2.0.0-preview.2
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="Sparkdo.Communication" Version="2.0.0-preview.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sparkdo.Communication" Version="2.0.0-preview.2" />
<PackageReference Include="Sparkdo.Communication" />
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 Sparkdo.Communication --version 2.0.0-preview.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Sparkdo.Communication, 2.0.0-preview.2"
#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 Sparkdo.Communication@2.0.0-preview.2
#: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=Sparkdo.Communication&version=2.0.0-preview.2&prerelease
#tool nuget:?package=Sparkdo.Communication&version=2.0.0-preview.2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Sparkdo.Communication
统一通信调度运行时。安装后,Sparkdo Manifest 会注册 ICommunicationDispatcher;具体 Email、SMS 通道由对应运行时包注册。
var result = await dispatcher.DispatchAsync(new CommunicationDispatchRequest(
CommunicationDispatchStrategy.FirstAccepted,
[emailRequest, smsRequest],
idempotencyKey: "order-20260719-001"),
cancellationToken);
调度器会在任何发送发生前解析并校验全部通道请求。通道未注册、Profile 未配置 Provider 或 Provider 配置无效时会立即失败,不会静默丢弃消息。
该运行时只负责调用级调度,不提供持久化、重试队列或 Outbox。CommunicationId、IdempotencyKey、不可变请求与结果边界为后续可靠投递产品域预留。
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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.
-
net10.0
- Sparkdo.Communication.Abstractions (>= 2.0.0-preview.2)
- Sparkdo.Manifest (>= 2.0.0-preview.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Sparkdo.Communication:
| Package | Downloads |
|---|---|
|
Sparkdo.Communication.Email
Sparkdo Communication Email 渠道路由与 Provider 运行时。 |
|
|
Sparkdo.Communication.Sms
Sparkdo Communication SMS 渠道路由与 Provider 运行时。 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0-preview.2 | 91 | 7/20/2026 |