MintPlayer.Spark.Model 11.0.0-preview.97

This is a prerelease version of MintPlayer.Spark.Model.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package MintPlayer.Spark.Model --version 11.0.0-preview.97
                    
NuGet\Install-Package MintPlayer.Spark.Model -Version 11.0.0-preview.97
                    
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="MintPlayer.Spark.Model" Version="11.0.0-preview.97" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MintPlayer.Spark.Model" Version="11.0.0-preview.97" />
                    
Directory.Packages.props
<PackageReference Include="MintPlayer.Spark.Model" />
                    
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 MintPlayer.Spark.Model --version 11.0.0-preview.97
                    
#r "nuget: MintPlayer.Spark.Model, 11.0.0-preview.97"
                    
#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 MintPlayer.Spark.Model@11.0.0-preview.97
                    
#: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=MintPlayer.Spark.Model&version=11.0.0-preview.97&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=MintPlayer.Spark.Model&version=11.0.0-preview.97&prerelease
                    
Install as a Cake Tool

MintPlayer.Spark.Model

The model vocabulary an entity library uses besides attributes: TranslatedString, TransientLookupReference / DynamicLookupReference / ELookupDisplayType, EShowedOn, IHasNaturalId, ValidationError, the reserved action names (SparkCoreActions, SparkCombinedActions, [SparkReservedActions]), and the small registries that generated code in a library writes into (SparkValueObjects, SparkModelSatellites).

It is a plain Microsoft.NET.Sdk package with no dependencies, so a project that holds only entities can reference it without pulling in the ASP.NET Core shared framework (#388). Pair it with MintPlayer.Spark.Attributes. The application references MintPlayer.Spark, which brings both in.

The namespace is deliberately not the package name

Every type keeps the namespace MintPlayer.Spark.Abstractions (or .Abstractions.Authorization / .Abstractions.Model), where it lived before the split. Do not "fix" that:

  • About 40 fully qualified metadata names in the Spark source generators and analyzers identify these types by namespace (GetTypeByMetadataName("MintPlayer.Spark.Abstractions.…")).
  • Generated code emits using MintPlayer.Spark.Abstractions; and global::MintPlayer.Spark.Abstractions.… names into consuming projects.

Moving a type to a new assembly is invisible to both. Moving it to a new namespace breaks them, silently in the generators' case: a type that does not resolve just switches a generator off.

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

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on MintPlayer.Spark.Model:

Package Downloads
MintPlayer.Spark.Abstractions

Abstractions and shared models for MintPlayer.Spark low-code framework.

MintPlayer.Spark.Moderation.Abstractions

Contracts for MintPlayer.Spark moderation: IModeratable for domain entities that can be voted on, flagged and locked, the moderation right names, and the reputation event names. Reference this from Domain/Library projects; the host references MintPlayer.Spark.Moderation.

MintPlayer.Spark.Contributions.Abstractions

Contracts for MintPlayer.Spark contributions (preview): the [Contribution] and [ContributionSlot] attributes, the IContribution / ICurrentContribution shapes the generator implements, IContributions, the IContributionValidator<T> app hook and the RevertContribution right. Reference this from Domain/Library projects; the host references MintPlayer.Spark.Contributions.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.0-preview.101 137 10/7/2026
11.0.0-preview.97 171 10/5/2026
11.0.0-preview.95 189 10/4/2026