Tequra.ResultsProcessing.AdapterTemplate 2.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet new install Tequra.ResultsProcessing.AdapterTemplate::2.0.1
This package contains a .NET Template Package you can call from the shell/command line.

Tequra.ResultsProcessing.AdapterTemplate

This package contains a solution template for a Tequra Results Processing Adapter. Installing this template allows a new solution to be easily created using the .NET Core dotnet new command. The generated solution contains the following:

  • A class library (.NET Standard 2.0) where the adapter and configuration classes are defined.
  • A console application (.NET Core 3.1) which runs the adapter as a standalone process.
  • A test project (xUnit on .NET Core) which allows test cases to be defined for testing the functionality of the adapter.

Installation

To install the template run the following command:

dotnet new -i Tequra.ResultsProcessing.AdapterTemplate

This adds "Tequra Results Processing Adapter" (shortname: teqadapt) to the list of installed templates. Note: This command can also be executed to update the existing installed template to the latest version.

To uninstall the template run the following command:

dotnet new -u Tequra.ResultsProcessing.AdapterTemplate

Usage

Enter the following command to create a new solution from the template.

dotnet new teqadapt -o {TARGET_FOLDER}

Recommended naming convention for {TARGET_FOLDER} is: CompanyName.ResultsProcessing.Adapters.AdapterType (e.g. Acme.ResultsProcessing.Adapters.Xcf)

Once the solution has been created, open using Visual Studio or Visual Studio Code.

Complete the following steps to implement a custom adapter:

  1. Run the unit tests in the .Test project to check that all the Tequra dependencies have loaded correctly. This uses a dummy adapter and example files, which will be replaced in subsequent steps.
  2. Delete the files in the "Example Files" directory in the test project and replace with example files that you want to generate an adapter for.
  3. Change the name of the MyAdapter class in the class library project to something more descriptive.
  4. Change the name of the MyAdapterConfiguration class in the class library project to something more descriptive.
  5. Edit the above two classes to implement your adapter, following the comments generated by the template.
  6. Update the unit tests (and add more if necessary) to fully test the functionality of your adapter against different files.

Note: the .App project should not be modified as this is intended to build a console application utilised by the Tequra Analytics Import Service.

This package has no dependencies.

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
7.0.2 2,592 12/12/2023
7.0.1 639 4/5/2023
7.0.0 390 1/26/2023
6.0.14 340 1/10/2023
6.0.13 485 10/26/2022
6.0.12 392 10/21/2022
6.0.10 396 10/20/2022
6.0.9 410 10/20/2022
6.0.5 478 8/21/2022
6.0.4 498 7/12/2022
6.0.3 389 7/11/2022
6.0.2.1 427 7/11/2022
6.0.2 467 5/23/2022
6.0.1 388 5/23/2022
6.0.0 425 5/19/2022
5.0.10 484 4/19/2022
5.0.6 478 4/15/2022
5.0.5 452 4/14/2022
5.0.2 437 4/13/2022
4.0.0 443 4/1/2022
3.0.2 346 12/30/2021
3.0.1 305 12/6/2021
2.3.1 313 11/19/2021
2.3.0 281 11/19/2021
2.2.0 966 8/12/2021
2.1.1 1,209 7/7/2021
2.1.0 480 7/1/2021
2.0.5 769 6/7/2021
2.0.4 363 6/4/2021
2.0.3 369 5/19/2021
2.0.2 349 5/14/2021
2.0.1 394 4/6/2021
1.2.4 375 4/1/2021
1.2.3 287 3/30/2021
1.2.2 313 3/30/2021
1.2.1 316 3/30/2021
1.2.0 398 2/9/2021
1.1.6 374 12/1/2020
1.1.3 400 11/12/2020
1.1.2 432 10/19/2020
1.1.1 427 6/9/2020
1.1.0 516 11/26/2019
0.7.0 664 7/3/2019
0.6.0 596 6/4/2019
0.2.0 674 3/16/2019
0.1.0 714 2/5/2019