![]() |
VOOZH | about |
dotnet add package Tenduke.Core --version 9.0.6
NuGet\Install-Package Tenduke.Core -Version 9.0.6
<PackageReference Include="Tenduke.Core" Version="9.0.6" />
<PackageVersion Include="Tenduke.Core" Version="9.0.6" />Directory.Packages.props
<PackageReference Include="Tenduke.Core" />Project file
paket add Tenduke.Core --version 9.0.6
#r "nuget: Tenduke.Core, 9.0.6"
#:package Tenduke.Core@9.0.6
#addin nuget:?package=Tenduke.Core&version=9.0.6Install as a Cake Addin
#tool nuget:?package=Tenduke.Core&version=9.0.6Install as a Cake Tool
This repository contains the shared code between the 10Duke Enterprise and 10Duke Scale SDKs.
For more information please see the documentation.
The 10Duke Enterprise and 10Duke Scale SDK client libraries both need similar
functionality in areas such as authentication, configuration, handling HttpClient
life-cycle.
In order to reduce complexity in those libraries, promote similar developer experience using those libraries, and reduce effort developing and maintaining those libraries, this project established a shared, core library that provides that functionality to both client libraries.
Tenduke.Core targets .NET Framework 4.7.2, .NET Standard 2.0, and whichever version of .NET are currently in standard and long term support (see the support policy for .NET for details).
Using the .NET Core command-line interface (CLI) tools:
dotnet add package Tenduke.Core
Using the NuGet Command Line Interface (CLI):
nuget install Tenduke.Core
Using the Package Manager Console:
Install-Package Tenduke.Core
From within Visual Studio:
Open the Solution Explorer. Right-click on a project within your solution. Click on Manage NuGet Packages... Click on the Browse tab and search for "Tenduke.Core". Click on the Tenduke.Core package, select the appropriate version in the right-tab and click Install.
For more information, refer to the documentation.
To use nuget packages from the gitlab package registry, you need to add that registry as a nuget source.
dotnet nuget add source "https://gitlab.com/api/v4/projects/51515286/packages/nuget/index.json" \
--name core --username <your_username> --password <your_token> --store-password-in-clear-text
First download and install the .NET SDK. The latest version is recommended (currently version 9).
To get started with working on the code, clone this repository.
git clone git@gitlab.com:10Duke/core/dotnet-core.git
Then you need to install the tools and dependencies.
dotnet tool restore
dotnet restore .
The code can be build as follows
dotnet build
The tests can be run using
dotnet test
This will attempt to run the tests for all target .NET versions, including .NET Framework 4.7.2. That will not work on linux or macOS using the .NET SDK.
For linux or macOS, you can specify the .NET version to test with (dependent on the SDK version you are using).
dotnet test --framework NET9.0
or
dotnet test --framework NET10.0
For linux or macOS, a Makefile is provided to automate these, and other, development tasks.
Some of the unit tests (specifically for the LocalhostCallbackListener used in the Authorization
code flow with PKCE), use the XUnit ITestOutputHelper
to capture test output.
This can be useful to follow the flow of the asynchronous operations used in the tests to simulate the three-legged OAuth handshake.
To view the output when running the tests from the CLI, append --logger "console;verbosity=detailed"
to the command, as follows:
dotnet test --framework NET10.0 --logger "console;verbosity=detailed"
This project is using CSharpier for C# code formatting, .NET Roslyn Analyzers and Sonarlint for linting C# code, and markdownlint for linting markdown.
To release a new version, the revision should be tagged in the format vMajor.minor.patch (for
example v2.2.0) and the tag pushed.
This will build both the Tenduke.Core and Tenduke.Core.Tests nuget package and publish them to the project package registry. The packages can be downloaded from there and pushed to nuget.org (this step is manual).
Additionally the example projects should be updated to use the new version.
A script is provided to automate tagging the revision and updating the project files for the examples to use the new version of the nuget package.
If you want to create a new release from the current revision, then call it with the version number as a command line parameter:
./update-version.sh 2.2.3
The changes in ./examples/ will be left uncommitted for you to review and to add to a new revision.
Once you are happy, push the new tag. This will trigger a release being created in GitLab.
We welcome contributions! explains what kind of contributions we welcome.
10Duke .NET core library is licensed under the license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. 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 is compatible. 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 is compatible. 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. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 is compatible. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 3 NuGet packages that depend on Tenduke.Core:
| Package | Downloads |
|---|---|
|
Tenduke.Enterprise
Client library for 10Duke Enterprise APIs. |
|
|
Tenduke.Core.Tests
Tests for the Tenduke.Core library. Includes utilities used in testing of the 10Duke Enterprise and 10Duke Scale SDKs. |
|
|
Tenduke.Scale
Client library for 10Duke Scale APIs. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 9.0.6 | 998 | 4/20/2026 |
| 9.0.5 | 364 | 4/15/2026 |
| 9.0.4 | 1,520 | 3/30/2026 |
| 9.0.3 | 2,356 | 2/19/2026 |
| 9.0.2 | 377 | 1/23/2026 |
| 9.0.1 | 2,602 | 12/1/2025 |
| 9.0.0 | 913 | 11/24/2025 |
| 8.1.1-beta.1 | 483 | 12/8/2025 |
| 8.1.0 | 3,438 | 10/13/2025 |
| 8.0.0 | 288 | 10/1/2025 |
| 7.1.0 | 603 | 8/20/2025 |
| 7.0.0 | 512 | 8/14/2025 |
| 6.0.0 | 2,193 | 8/5/2025 |
| 5.4.0 | 1,769 | 7/9/2025 |
| 5.3.0 | 432 | 7/5/2025 |
| 5.2.1 | 905 | 6/11/2025 |
| 5.2.0 | 355 | 6/9/2025 |
| 5.1.0 | 400 | 4/15/2025 |
| 5.0.4 | 11,151 | 2/16/2025 |
| 5.0.3 | 590 | 1/6/2025 |