Skip to main content
net10.0

Out-of-process schema generator for Configo. The 'configo schema generate' tool references this package from a throwaway project that runs on the target application's own runtime, so NJsonSchema never ships in the application. Not intended for direct use.

Published
Jul 9, 2026
3mo ago
Total Downloads
341
341

Install

dotnet add package Configo.Design.Generation --version 1.1.3
ProductVersions
.NET
net10.0

README

Configo.Design.Generation

Out-of-process JSON schema generator for Configo.

You do not reference this package directly. It is an implementation detail of the configo schema generate tool.

What it is

When you run configo schema generate, the tool:

  1. Runs your application so Configo.Design can discover which configuration sections are bound to which CLR types, writing a small bindings manifest.
  2. Generates a tiny throwaway project that targets your application's runtime, references your application's compiled output, and references this package.
  3. Runs that throwaway project. It reads the manifest, loads your option types on your application's own runtime, and generates the appsettings.schema.json using NJsonSchema.

Because generation runs on your application's runtime (compiled against your app and the ASP.NET Core shared framework), the .NET host resolves your application's full dependency closure — including shared-framework types such as System.Threading.RateLimiting — exactly as it does when your app runs.

This keeps NJsonSchema entirely out of your application: it is only ever referenced by the throwaway generator project, never by your app or by Configo.Design.

Why a separate package?

NJsonSchema requires a live System.Type to generate a schema. The only place your option types load reliably is on your application's own runtime. Shipping the generator as its own package lets the configo tool reference it from a throwaway project that runs there — instead of the tool trying to load your application's assemblies into its own (different) runtime, which is fragile and fails for shared-framework types.

Changes from Previous Version

No structural changes between v1.1.2 and v1.1.3.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.