Nexus.Sources.Transform 2.0.0-beta.33

This is a prerelease version of Nexus.Sources.Transform.
dotnet add package Nexus.Sources.Transform --version 2.0.0-beta.33                
NuGet\Install-Package Nexus.Sources.Transform -Version 2.0.0-beta.33                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nexus.Sources.Transform" Version="2.0.0-beta.33" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nexus.Sources.Transform --version 2.0.0-beta.33                
#r "nuget: Nexus.Sources.Transform, 2.0.0-beta.33"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Nexus.Sources.Transform as a Cake Addin
#addin nuget:?package=Nexus.Sources.Transform&version=2.0.0-beta.33&prerelease

// Install Nexus.Sources.Transform as a Cake Tool
#tool nuget:?package=Nexus.Sources.Transform&version=2.0.0-beta.33&prerelease                

Nexus.Sources.Transform

It is often necessary to shorten resource names, extract units from resource names, set resource group memberships, or perform other transformations on the original resource catalog. This package provides these (and more) features and removes the need for individual Nexus extensions to implement them themselves.

The idea is to place this source at the end in the Nexus pipeline.

As an extension developer you might wonder where to provide things like units to the resources as there are at least three different places. Here is a recommendation:

  1. When the unit is part of the raw data file, read it from there and put it into the resource via
var resource = new ResourceBuilder(id: <resourceId>)
    .WithUnit(<unit>)
    ...
    .Build();
  1. If the unit is derived from the original resource name, as is often the case in CSV files where column names are often in a format like temp_1 (°C), then use this data source and put it at the end of the data source pipeline in Nexus. Of course, you could go back to 1. but this will make your data source tightly coupled to the input data format.

  2. If there is no unit information in the raw data, but you know it from elsewhere (documentation, etc), edit the metadata in the Nexus UI or use the REST API instead. The metadata is like an overlay for an existing catalog and its resources and properties. This metadata is persistently stored by Nexus.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
2.0.0-beta.33 41 12/17/2024