NKF.Resources
1.0.1
Requires NuGet 5.0.0 or higher.
dotnet add package NKF.Resources --version 1.0.1
NuGet\Install-Package NKF.Resources -Version 1.0.1
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="NKF.Resources" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NKF.Resources" Version="1.0.1" />
<PackageReference Include="NKF.Resources" />
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 NKF.Resources --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NKF.Resources, 1.0.1"
#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 NKF.Resources@1.0.1
#: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=NKF.Resources&version=1.0.1
#tool nuget:?package=NKF.Resources&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
NKF.Resources
Shared resources: DataDictionary and localized messages.
Features
- DataDictionary — Localized entity/property names for UI
- ErrorMessages / FramWorkErrorMessages — Validation error messages with formatting (
DuplicateValue) - Validations / FrameWorkValidations — Business rule validation messages (
Required,MaxLength, etc.) - DomainErrors.Duplicate — Helper in
NKF.DomainconsumingFramWorkErrorMessages.DuplicateValue(1.0.1)
Install
dotnet add package NKF.Resources
Usage
// In domain (via DomainErrors helper, 1.0.1)
IError error = DomainErrors.Duplicate(nameof(Brand), DataDictionary.Brand);
return Result.Fail(error);
// Or raw
string msg = string.Format(FramWorkErrorMessages.DuplicateValue, DataDictionary.BrandName);
// Resources are embedded and accessible via:
// NKF.Resources.DataDictionary.BrandName
// NKF.Resources.Messages.FramWorkErrorMessages.DuplicateValue
// NKF.Resources.Messages.FrameWorkValidations.Required
Repository
github.com/rasoolnikravesh/NKF
License
Apache-2.0
| Product | Versions 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.
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on NKF.Resources:
| Package | Downloads |
|---|---|
|
NKF.Domain
NKF Domain Framework - Core domain primitives for DDD (AggregateRoot, Entity, ValueObject, Enumeration, Domain Events) |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.1 | 132 | 8/29/2026 |
| 1.0.1-beta.1.1 | 93 | 8/17/2026 |
| 1.0.0 | 142 | 8/15/2026 |
See CHANGELOG.md