PolyhydraGames.CDN 1.0.3.208

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

Polyhydra CDN & Retro Media Engine

The primary backend service for the Polyhydra CDN ecosystem, consolidating media management, automated indexing, and retro-gaming metadata enrichment.

Tags

  • api
  • api-cdn
  • dotnet
  • cdn
  • docs
  • testing

Project Structure

  • WebAPI (src/WebAPI): Consolidated service for media clips, CDN indexing, and the RetroAchievements proxy.
  • RetroMedia Library (src/Api.RetroMedia): Core business logic, parsers, and platform rules.
  • UI & Tools: WPF and Core conversion utilities.

Documentation

Comprehensive feature and infrastructure documentation can be found in the docs/features directory:

Getting Started

Local Development

The project uses the modern .slnx solution format.

# Open the solution in VS 2022 or Rider
PolyhydraGames.Api.CDN.slnx

Running the API

cd src/WebAPI
dotnet run

Swagger UI will be available at: http://localhost:5000/swagger

Testing

The project uses NUnit for unit testing. Some tests require a mock CDN directory structure.

# Run all tests
dotnet test

Local CDN fallback for development and validation

When the expected CDN mount paths (for example /mnt/syn2/cdn/roms) are not available on a local workstation, use deterministic fixture or temporary-root validation instead of guessing at live CDN state. Local validation should point the Cdn configuration at a known fixture tree or a disposable temp directory that contains the required gamelist.xml and media samples for the test being exercised.

Required Cdn values for local runs are:

  • RootPath: root of the local or fixture CDN tree.
  • RetroPath: retro-media subpath when the code path expects one; keep it aligned with the fixture layout.
  • ArchiveRoot: writable archive/temp location for archive-related tests or local runs.
  • BaseUrl: base URL used when generated links are asserted or smoke-tested.

RetroAchievements (RaUser/RaKey) credentials are only required for live RA/online smoke paths. Do not add or invent secrets for deterministic local tests; remote CDN and RA checks should remain smoke-only and should be documented as such in the validation handoff.

If the intended mount path, runtime host, or credential boundary differs from the existing docs, block and add an explicit note rather than guessing. The setup/readiness rule is: deterministic fixture/temp-root tests prove local behavior; live CDN/RA checks only prove connectivity and current external availability.

Documentation

XML documentation is enabled for the core library. Build the project to generate the .xml documentation file.

Configuration

Configure the Cdn section in appsettings.json or Environment Variables:

"Cdn": {
  "RootPath": "/path/to/cdn",
  "ArchiveRoot": "/var/lib/polyhydra/cdn-archive",
  "ScanIntervalMinutes": 60,
  "BaseUrl": "https://your-cdn-url.com",
  "RaUser": "RA_USERNAME",
  "RaKey": "RA_API_KEY"
}
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.3.208 64 6/5/2026
1.0.2.209 362 5/4/2026
1.0.2.208 187 4/7/2026