ClassyTravel 1.0.0

dotnet add package ClassyTravel --version 1.0.0
                    
NuGet\Install-Package ClassyTravel -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="ClassyTravel" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ClassyTravel" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ClassyTravel" />
                    
Project file
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 ClassyTravel --version 1.0.0
                    
#r "nuget: ClassyTravel, 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 ClassyTravel@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=ClassyTravel&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ClassyTravel&version=1.0.0
                    
Install as a Cake Tool

ClassyTravel

A .NET library for managing travel itineraries, flights, passengers, invoices, and visa applications with Entity Framework Core support.

Features

  • Itinerary Management: Extract and parse travel itineraries from HTML content
  • Flight Management: Track flights, segments, and passenger information
  • Invoice Management: Generate and manage invoices with line items
  • Visa Applications: Handle visa application processing and attachments
  • Entity Framework Core: Full EF Core support with database context (classyDB)
  • Facebook Conversion API: Integration support for Facebook conversion tracking

Installation

Install the package via NuGet Package Manager:

Install-Package ClassyTravel

Or via .NET CLI:

dotnet add package ClassyTravel

Requirements

  • .NET 10.0 or later
  • Entity Framework Core
  • net3000.common (Version 10.0.3 or later)

Quick Start

Setting Up the Database Context

using ClassyTravel.DbContext;
using Microsoft.Extensions.Configuration;

var configuration = new ConfigurationBuilder()
    .AddJsonFile("appsettings.json")
    .Build();

var optionsBuilder = new DbContextOptionsBuilder<classyDB>();
// Configure your connection string
var classyDB = new classyDB(optionsBuilder.Options);

Using the Library

using ClassyTravel;

var lib = new ClassyTravel.lib();
lib.classyDB = classyDB;
lib.myConfig = configuration;

// Extract itinerary from URL
var invoiceId = await lib.ExtractItineraryFromUrlAsync("https://example.com/itinerary");

Key Components

Database Context (classyDB)

The main database context provides access to:

  • authorize - Authorization records
  • VisaApplications2 - Visa application data
  • Intinerary - Travel itineraries
  • Flight - Flight information
  • FlightPassenger - Passenger details
  • Invoice - Invoice records
  • InvoiceItem - Invoice line items
  • RequestLog - Request logging

Main Library Class (lib)

The primary entry point for:

  • Itinerary extraction and parsing
  • Invoice generation
  • Admin menu generation
  • Configuration management

Documentation

For more detailed documentation and API reference, please visit the project repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For issues, questions, or contributions, please visit the project repository.

Product 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.

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 111 1/18/2026