CyberEye.Workflow.Client
3.0.34
dotnet add package CyberEye.Workflow.Client --version 3.0.34
NuGet\Install-Package CyberEye.Workflow.Client -Version 3.0.34
<PackageReference Include="CyberEye.Workflow.Client" Version="3.0.34" />
<PackageVersion Include="CyberEye.Workflow.Client" Version="3.0.34" />
<PackageReference Include="CyberEye.Workflow.Client" />
paket add CyberEye.Workflow.Client --version 3.0.34
#r "nuget: CyberEye.Workflow.Client, 3.0.34"
#:package CyberEye.Workflow.Client@3.0.34
#addin nuget:?package=CyberEye.Workflow.Client&version=3.0.34
#tool nuget:?package=CyberEye.Workflow.Client&version=3.0.34
CyberEye.Workflow.Client
Thao tác workflow, bước và loại bước. Đây là SDK gọi service; package không chạy nghiệp vụ server hoặc bảo đảm mọi tính năng của service đều có API client tương ứng.
Target framework: net8.0.
Cài đặt
dotnet add package CyberEye.Workflow.Client
Cần cấu hình NuGet feed của dự án và chọn phiên bản tương thích với các package CyberEye khác trong host.
Các client hiện có
IWorkflowApiClientService, IWorkflowStepApiClientService, IWorkflowStepTypeApiClientService.
HTTP interfaces nằm trong Ce.Workflow.Client.Services.Apis.Interfaces; implementations nằm trong Services.Apis.Implementations. Các lớp client tổng hợp/gRPC nằm trong Services theo từng module.
Đăng ký một HTTP client
using Ce.Workflow.Client.Services.Apis.Interfaces;
using Ce.Workflow.Client.Services.Apis.Implementations;
using Microsoft.Extensions.DependencyInjection;
// Fragment: host đã cấu hình IBaseHttpClientFactory, IConfiguration và ApiDomain.
builder.Services.AddSingleton<IWorkflowApiClientService, WorkflowApiClientService>();
Client dùng IBaseHttpClientFactory của Ce.Interaction.Lib, không nhận HttpClient trực tiếp. Vì vậy không thay bằng AddHttpClient<TInterface,TImplementation> chỉ để gán BaseAddress.
Host Ce.Common.Lib nạp endpoint từ section ApiDomain:
{
"ApiDomain": {
"WorkflowEndpoint": "https://service.example/api/v1"
}
}
URL chỉ minh họa: thay bằng base route thật của service, không thêm route resource mà client đã nối. Không dùng ServiceUrls:Workflow vì client không đọc khóa đó.
Nếu dùng Ce.Client.All, chọn registration tương ứng và tránh đăng ký trùng. Token/context phải tuân theo luồng outbound của host; caller kiểm tra response lỗi và truyền CancellationToken.
| 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. |
-
net8.0
- CyberEye.Infrastructure.Dto (>= 3.0.34)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CyberEye.Workflow.Client:
| Package | Downloads |
|---|---|
|
CyberEye.Client.All
Package wrapper cung cấp các interface để giao tiếp với các Service Core |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.34 | 0 | 11/15/2026 |
| 3.0.33 | 0 | 11/15/2026 |
| 3.0.32 | 0 | 11/15/2026 |
| 3.0.31 | 42 | 11/15/2026 |
| 3.0.30 | 47 | 11/15/2026 |
| 3.0.29 | 56 | 11/13/2026 |
| 3.0.28 | 114 | 11/6/2026 |
| 3.0.27 | 152 | 9/17/2026 |
| 3.0.26 | 149 | 9/8/2026 |
| 3.0.25 | 154 | 8/22/2026 |
| 3.0.24 | 236 | 8/10/2026 |
| 3.0.23 | 152 | 8/9/2026 |
| 3.0.22 | 173 | 8/1/2026 |
| 3.0.21 | 163 | 7/28/2026 |
| 3.0.20 | 173 | 7/27/2026 |
| 3.0.19 | 157 | 7/27/2026 |
| 3.0.18 | 163 | 7/17/2026 |
| 3.0.17 | 160 | 7/13/2026 |
| 3.0.16 | 159 | 7/12/2026 |
| 3.0.15 | 153 | 7/10/2026 |