Tequra.ResultsProcessing.AdapterTemplate 6.0.2.1

There is a newer version of this package available.
See the version list below for details.
dotnet new install Tequra.ResultsProcessing.AdapterTemplate::6.0.2.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 6) which runs the adapter as a standalone process.
  • A test project (xUnit) 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,794 12/12/2023
7.0.1 663 4/5/2023
7.0.0 419 1/26/2023
6.0.14 366 1/10/2023
6.0.13 516 10/26/2022
6.0.12 412 10/21/2022
6.0.10 420 10/20/2022
6.0.9 437 10/20/2022
6.0.5 505 8/21/2022
6.0.4 525 7/12/2022
6.0.3 419 7/11/2022
6.0.2.1 452 7/11/2022
6.0.2 487 5/23/2022
6.0.1 413 5/23/2022
6.0.0 443 5/19/2022
5.0.10 495 4/19/2022
5.0.6 499 4/15/2022
5.0.5 478 4/14/2022
5.0.2 462 4/13/2022
4.0.0 474 4/1/2022
3.0.2 374 12/30/2021
3.0.1 352 12/6/2021
2.3.1 337 11/19/2021
2.3.0 313 11/19/2021
2.2.0 994 8/12/2021
2.1.1 1,238 7/7/2021
2.1.0 512 7/1/2021
2.0.5 798 6/7/2021
2.0.4 387 6/4/2021
2.0.3 397 5/19/2021
2.0.2 378 5/14/2021
2.0.1 422 4/6/2021
1.2.4 400 4/1/2021
1.2.3 313 3/30/2021
1.2.2 342 3/30/2021
1.2.1 343 3/30/2021
1.2.0 422 2/9/2021
1.1.6 405 12/1/2020
1.1.3 419 11/12/2020
1.1.2 459 10/19/2020
1.1.1 450 6/9/2020
1.1.0 542 11/26/2019
0.7.0 689 7/3/2019
0.6.0 618 6/4/2019
0.2.0 700 3/16/2019
0.1.0 744 2/5/2019