![]() |
VOOZH | about |
dotnet add package DES.Core --version 3.7.0.62
NuGet\Install-Package DES.Core -Version 3.7.0.62
<PackageReference Include="DES.Core" Version="3.7.0.62" />
<PackageVersion Include="DES.Core" Version="3.7.0.62" />Directory.Packages.props
<PackageReference Include="DES.Core" />Project file
paket add DES.Core --version 3.7.0.62
#r "nuget: DES.Core, 3.7.0.62"
#:package DES.Core@3.7.0.62
#addin nuget:?package=DES.Core&version=3.7.0.62Install as a Cake Addin
#tool nuget:?package=DES.Core&version=3.7.0.62Install as a Cake Tool
DES is an enterprise-grade platform for executing, tracking, and managing dynamic workflows. It provides a robust, scalable architecture for processing data exchanges with support for both real-time and scheduled operations.
You can develop DES workflows in any programming language that can host an HTTP endpoint. Demo worker apps are available for both .NET and Java.
Workflows are C# classes that implement the IDESWorkflow interface from the DMS.App package. This class contains the logic executed when a DES request is submitted.
dotnet new web
This package contains all dependencies required to develop a workflow that runs in DES.
Optionally add the DES.SQL if the workflow needs access to the database.
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DES.App" Version="3.6.0.61" />
<PackageReference Include="DES.SQL" Version="3.6.0.61" />
</ItemGroup>
</Project>
The RunAsync(...) function is called each time a DES request is submitted.
using DES.Core.Interfaces.Services;
using DES.Core.Models;
namespace DES.Demo.Workflow;
public class MyWorkflow : IDESWorkflow
{
public Task<WorkflowResult> RunAsync(ExchangeRequest request, CancellationToken cancellationToken )
{
//workflow logic here
//...
}
}
Notice the
ExchangeRequestargument. This contains parameters and settings configured in the Data Exchange.
The app must call RegisterWorker(...) to register the app as a worker.
Workflows must be registered as a Dependency Injection container.
using DES.App;
using DES.App.Registration;
using DES.SQL.Logger;
var builder = WebApplication.CreateBuilder(args);
//Register worker
builder.RegisterWorker(options =>
{
options.WorkerName = "DES.EWS.MyApp";
//override any options here
});
//Optional DBLogger
builder.Services.AddDbLogger(builder.Configuration);
//Register workflows
builder.Services.AddScoped<IDESWorkflow, MyWorkflow>();
var app = builder.Build();
//Map worker endpoints
app.MapWorkerEndpoints();
app.UseDbLogger();
app.Run();
Workflow classes can be used with Dependency Injection containers to reduce coupling between dependencies. For example, IConfiguration can be injected in the constructor when the workflow needs to read configuration files.
A Worker is an app in DES has that hosts workflows. This is the process that executes the logic.
In this case ews-myapp (exchange-worker-service for my app) is contains three workflow classes.
The worker app will expose an HTTP endpoint to process requests.
POST /ProcessRequest
Content-Type: application/json
{
"requestID": "guid id",
"exchangeID": 123456,
"exchangeName": "My workflow",
"workflowClassName": "DMS.Workflows.MyWorkflow, DMS.Workflows",
"exchangeParameters": {
"param1": "param1value"
}
}
The manager sends requests to the worker /ProcessRequest endpoint above.
Additionally, the worker app will expose a health endpoint.
GET /healh
The health endpoint is used to report the worker's health and discover workflows capabilities.
Once the app is ready, publish it using dotnet publish just like any other ASP.NET app .
dotnet publish -o ews-myapp
This is now ready to be hosted in IIS, Azure App Service, or any other hosting platform that DES has access to.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 2 NuGet packages that depend on DES.Core:
| Package | Downloads |
|---|---|
|
DES.App
Assembly for .NET workers and core app functions. |
|
|
DES.SQL
Assembly for .NET workers that connects to MS SQL database. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.7.0.62 | 261 | 8/25/2025 |