Tequra.ResultsProcessing.AdapterTemplate 2.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet new install Tequra.ResultsProcessing.AdapterTemplate::2.3.0                
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,796 12/12/2023
7.0.1 667 4/5/2023
7.0.0 421 1/26/2023
6.0.14 368 1/10/2023
6.0.13 518 10/26/2022
6.0.12 414 10/21/2022
6.0.10 422 10/20/2022
6.0.9 439 10/20/2022
6.0.5 507 8/21/2022
6.0.4 527 7/12/2022
6.0.3 421 7/11/2022
6.0.2.1 454 7/11/2022
6.0.2 489 5/23/2022
6.0.1 415 5/23/2022
6.0.0 445 5/19/2022
5.0.10 497 4/19/2022
5.0.6 501 4/15/2022
5.0.5 480 4/14/2022
5.0.2 464 4/13/2022
4.0.0 478 4/1/2022
3.0.2 376 12/30/2021
3.0.1 354 12/6/2021
2.3.1 339 11/19/2021
2.3.0 315 11/19/2021
2.2.0 996 8/12/2021
2.1.1 1,240 7/7/2021
2.1.0 514 7/1/2021
2.0.5 800 6/7/2021
2.0.4 389 6/4/2021
2.0.3 399 5/19/2021
2.0.2 380 5/14/2021
2.0.1 424 4/6/2021
1.2.4 402 4/1/2021
1.2.3 315 3/30/2021
1.2.2 344 3/30/2021
1.2.1 345 3/30/2021
1.2.0 424 2/9/2021
1.1.6 407 12/1/2020
1.1.3 421 11/12/2020
1.1.2 461 10/19/2020
1.1.1 452 6/9/2020
1.1.0 544 11/26/2019
0.7.0 691 7/3/2019
0.6.0 620 6/4/2019
0.2.0 702 3/16/2019
0.1.0 746 2/5/2019