TRENZ.EL.ELAPI
1.1.1
dotnet add package TRENZ.EL.ELAPI --version 1.1.1
NuGet\Install-Package TRENZ.EL.ELAPI -Version 1.1.1
<PackageReference Include="TRENZ.EL.ELAPI" Version="1.1.1" />
<PackageVersion Include="TRENZ.EL.ELAPI" Version="1.1.1" />
<PackageReference Include="TRENZ.EL.ELAPI" />
paket add TRENZ.EL.ELAPI --version 1.1.1
#r "nuget: TRENZ.EL.ELAPI, 1.1.1"
#:package TRENZ.EL.ELAPI@1.1.1
#addin nuget:?package=TRENZ.EL.ELAPI&version=1.1.1
#tool nuget:?package=TRENZ.EL.ELAPI&version=1.1.1
El.ElApi
This package contains supportive developer tooling for an easyLogic 3.15 feature. An easyLogic development license is required.
See https://docs.ela.easylogic.de for usage details.
Basic usage
In an ASP.NET Core project,
- add this as a NuGet package references.
- your
Configuremethod (or top-level method) needs to end something like:
// add this _before_ routing
app.UseElApiDiscovery();
app.UseRouting();
app.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
endpoints.MapHub<ProgressHub>("/hubs/progress"); // add this inside `UseEndpoints`
});
A controller should follow an ELA-compatible naming convention. (If it does not, you may need to fully specify the URL.) For example, the class can be declared like:
[Area("_Default")]
[Route("ELAPI/[area]/[controller]/[action]")]
public class dMyInvoiceController : ControllerBase
{
private readonly IHubContext<ProgressHub> _HubContext;
public dMyInvoiceController(IHubContext<ProgressHub> hubContext)
{
_HubContext = hubContext;
}
}
If used on a container of the type MyInvoice, easyLogic will automatically
expand the correct route.
Finally, a method body should look like:
[HttpPost]
public async Task<IActionResult> MyButtonAction([FromBody] ContainerWithProgressRequest request)
{
var progress = ELSimpleProgress.Create(request.SessionID, _HubContext);
using var eldata = await ELDatas.OpenAsync(/* some connection string */, request.UserID);
return Ok();
}
Inside, you can use eldata to access the database, and progress to send
progress information back to the client. UserID is also set, so you can use
server messages as well.
| 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. |
-
net10.0
- JetBrains.Annotations (>= 2025.2.4)
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.1.1 | 92 | 1/15/2026 |
| 1.1.0 | 106 | 1/5/2026 |
| 1.0.0 | 573 | 10/13/2022 |
| 1.0.0-beta3 | 261 | 10/12/2022 |
| 1.0.0-beta2 | 261 | 10/5/2022 |
| 1.0.0-beta1 | 266 | 10/5/2022 |
# 1.1.1
* Fixed an issue where requests using the new `ContainerIDList` property wouldn't be recognized as a well known
parameter
# 1.1.0
* Added models for requests with multiple container IDs
* Removed support for .NET Core 3.1, .NET 6, and .NET 7; added support for .NET 10
# 1.0.0
This release is intended to be used with easyLogic 3.15.2 and newer.
It supports:
* simple progress (small inline progress bar)
* descriptive progress (a
larger progress bar with an optional title and description of the current step)
* ASP.NET Core 3.1, 6.0, and 7.0