VehicleNet.Catalog
1.0.0
dotnet add package VehicleNet.Catalog --version 1.0.0
NuGet\Install-Package VehicleNet.Catalog -Version 1.0.0
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="VehicleNet.Catalog" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VehicleNet.Catalog" Version="1.0.0" />
<PackageReference Include="VehicleNet.Catalog" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add VehicleNet.Catalog --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: VehicleNet.Catalog, 1.0.0"
#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.
#:package VehicleNet.Catalog@1.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=VehicleNet.Catalog&version=1.0.0
#tool nuget:?package=VehicleNet.Catalog&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
VehicleNet.Catalog
VehicleNet.Catalog provides a ready-to-use vehicle catalog with manufacturers, models, generations, versions, engines, body specs, and engine variant specs.
Features
- In-memory catalog services for:
- manufacturers
- models
- generations
- versions
- engines
- engine variants
- vehicle body specifications
- engine and engine-version specifications
- Search models using simple search DTOs.
- Easy DI registration for .NET applications.
Install
dotnet add package VehicleNet.Catalog
Quick start
Register services:
using Microsoft.Extensions.DependencyInjection;
using VehicleNet.Catalog.Extensions;
var services = new ServiceCollection();
services.AddVehicleCatalogServices();
using var provider = services.BuildServiceProvider();
Example: search until you get engine version spec:
using VehicleNet.Catalog.Interfaces;
using VehicleNet.Common.Models.Search;
var manufacturerService = provider.GetRequiredService<IManufacturerService>();
var modelService = provider.GetRequiredService<IModelService>();
var generationService = provider.GetRequiredService<IGenerationService>();
var versionService = provider.GetRequiredService<IVersionService>();
var engineService = provider.GetRequiredService<IEngineService>();
var engineVariantService = provider.GetRequiredService<IEngineVariantService>();
var vehicleBodyEngineVariantService = provider.GetRequiredService<IVehicleBodyEngineVariantService>();
var manufacturer = manufacturerService.Search(new ManufacturerSearch { Name = "Skoda" }).First();
var model = modelService.Search(new ModelSearch { ManufacturerId = manufacturer.Id, Name = "Octavia" }).First();
var generation = generationService.Search(new GenerationSearch { ModelId = model.Id, Name = "IV" }).First();
var selectedVersion = generation.ContainsVersions
? versionService.Search(new VersionSearch { GenerationId = generation.Id, Name = "RS" }).First()
: null;
var engine = generation.ContainsVersions
? engineService.Search(new EngineSearch
{
VersionId = selectedVersion!.Id,
Name = "2.0 TSI"
}).First()
: engineService.Search(new EngineSearch
{
GenerationId = generation.Id,
Name = "2.0 TSI"
}).First();
var engineVariant = engineVariantService.Search(new EngineVariantSearch
{
EngineId = engine.Id,
Name = "2.0 TSI Manual"
}).First();
var engineVersionSpec = vehicleBodyEngineVariantService.Search(
new VehicleBodyEngineVariantSearch
{
EngineVariantId = engineVariant.EngineVariantId
})
.Items
.First();
// Engine version spec:
var variantSpecs = engineVersionSpec.EngineVariantSpecs; // transmission, drivetrain, performance
// Engine spec:
var engineSpecs = engineVersionSpec.VehicleBodyEngine.EngineSpecs; // capacity, fuel, power, torque, architecture
// Body spec:
var bodySpecs = engineVersionSpec.VehicleBodyEngine.VehicleBody?.BodySpecs; // doors, seats, dimensions, trunk
Available service interfaces
IManufacturerServiceIModelServiceIGenerationServiceIVersionServiceIEngineServiceIEngineVariantServiceIVehicleBodyServiceIVehicleBodyEngineServiceIVehicleBodyEngineVariantService
Target framework
- .NET 10 (
net10.0)
Notes
- Data is loaded from packaged resources.
- This package is intended for catalog querying scenarios and can be composed with other
VehicleNet.*packages.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
- VehicleNet.Common (>= 1.0.0)
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 |
|---|---|---|
| 1.0.0 | 112 | 8/25/2026 |