MintPlayer.Spark.Model
11.0.0-preview.101
dotnet add package MintPlayer.Spark.Model --version 11.0.0-preview.101
NuGet\Install-Package MintPlayer.Spark.Model -Version 11.0.0-preview.101
<PackageReference Include="MintPlayer.Spark.Model" Version="11.0.0-preview.101" />
<PackageVersion Include="MintPlayer.Spark.Model" Version="11.0.0-preview.101" />
<PackageReference Include="MintPlayer.Spark.Model" />
paket add MintPlayer.Spark.Model --version 11.0.0-preview.101
#r "nuget: MintPlayer.Spark.Model, 11.0.0-preview.101"
#:package MintPlayer.Spark.Model@11.0.0-preview.101
#addin nuget:?package=MintPlayer.Spark.Model&version=11.0.0-preview.101&prerelease
#tool nuget:?package=MintPlayer.Spark.Model&version=11.0.0-preview.101&prerelease
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;andglobal::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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
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 |