![]() |
VOOZH | about |
dotnet add package SimplyWorks.PrimitiveTypes --version 8.1.3
NuGet\Install-Package SimplyWorks.PrimitiveTypes -Version 8.1.3
<PackageReference Include="SimplyWorks.PrimitiveTypes" Version="8.1.3" />
<PackageVersion Include="SimplyWorks.PrimitiveTypes" Version="8.1.3" />Directory.Packages.props
<PackageReference Include="SimplyWorks.PrimitiveTypes" />Project file
paket add SimplyWorks.PrimitiveTypes --version 8.1.3
#r "nuget: SimplyWorks.PrimitiveTypes, 8.1.3"
#:package SimplyWorks.PrimitiveTypes@8.1.3
#addin nuget:?package=SimplyWorks.PrimitiveTypes&version=8.1.3Install as a Cake Addin
#tool nuget:?package=SimplyWorks.PrimitiveTypes&version=8.1.3Install as a Cake Tool
Foundational .NET library with essential types, patterns, and interfaces for modern application development.
dotnet add package SimplyWorks.PrimitiveTypes
Ready-to-use business types with built-in validation and conversion:
Money - Currency handling with conversion supportWeight - Mass measurements (kg, lb, oz, g)Dimensions - 3D measurements with unit conversionStreetAddress - Structured address representationClean architecture building blocks:
IEntity<T> - Entity interfaces with identityIAggregateRoot<T> - Domain aggregate markersISpecification<T> - Business rule specificationsValueObject - Base class with equality semanticsCQRS-style interfaces for clean APIs:
IGetHandler<TKey, TResult> - Query operationsICommandHandler<TRequest, TResult> - Command operationsIDeleteHandler<TKey> - Delete operationsEvent-driven architecture interfaces:
IPublish / IConsume<T> - Message publishing/consumptionIBroadcast / IListen<T> - Event broadcasting/listening// Value Objects
var price = new Money(99.99m, "USD");
var weight = new Weight(2.5m, WeightUnit.kg);
var size = new Dimensions(30, 20, 10, DimensionUnit.cm);
// Domain Entity
public class Product : IAggregateRoot
{
public int Id { get; set; }
public Money Price { get; set; }
public Weight ShippingWeight { get; set; }
public Dimensions PackageDimensions { get; set; }
}
// API Handler
public class GetProductHandler : IGetHandler<int, Product>
{
public async Task<Product> Handle(int id)
{
// Retrieve and return product
return await productRepository.GetByIdAsync(id);
}
}
Part of the Simplify9 ecosystem:
Visit our GitHub repository for additional examples, source code, and contribution opportunities.
MIT Licensed | Made by Simplify9
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on SimplyWorks.PrimitiveTypes:
| Package | Downloads |
|---|---|
|
SimplyWorks.HttpExtensions
A lightweight .NET library providing HTTP extensions for simplified JSON operations, HTTP client helpers, and API client abstractions with JWT support. Includes extensions for HttpContent, HttpClient, HttpClientFactory, and dependency injection setup. See GitHub for full documentation and examples. |
|
|
SimplyWorks.EfCoreExtensions
Open-source Entity Framework Core extensions for .NET, including helpers for ChangeTracker, DbContext, IQueryable, and more. See full documentation at https://github.com/simplify9/EfCoreExtensions |
|
|
SimplyWorks.Serverless.Sdk
SDK for developing .NET serverless adapters with the Runner class, logging utilities, and adapter communication protocols. See https://github.com/simplify9/SW-Serverless for full documentation. |
|
|
SimplyWorks.Logger
Package Description |
|
|
SimplyWorks.CloudFiles.S3
Multi-cloud storage abstraction library for S3-compatible storage (AWS S3, DigitalOcean Spaces, MinIO, etc.). Provides unified file operations with automatic lifecycle management. Part of SW.CloudFiles suite supporting Azure, Google Cloud, and Oracle Cloud. See full documentation at https://github.com/simplify9/SW-CloudFiles |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.1.3 | 757 | 4/7/2026 |
| 8.1.2 | 2,821 | 9/16/2025 |
| 8.1.1 | 368 | 9/16/2025 |
| 8.1.0 | 366 | 9/16/2025 |
| 8.0.4 | 1,423 | 7/31/2025 |
| 8.0.0 | 5,988 | 1/20/2025 |
| 6.1.3 | 7,904 | 2/5/2024 |
| 6.1.1 | 8,800 | 7/24/2023 |
| 6.1.0 | 868 | 7/24/2023 |
| 6.0.5 | 17,374 | 3/23/2023 |
| 6.0.3 | 3,580 | 2/27/2023 |
| 6.0.1 | 8,265 | 2/2/2023 |
| 2.0.120 | 1,494 | 2/1/2023 |
| 2.0.117 | 15,338 | 11/15/2022 |
| 2.0.113 | 46,590 | 10/24/2021 |
| 2.0.112 | 61,181 | 8/24/2021 |
| 2.0.110 | 7,979 | 5/9/2021 |
| 2.0.108 | 1,204 | 4/19/2021 |
| 2.0.106 | 27,955 | 12/17/2020 |
| 2.0.104 | 18,471 | 12/6/2020 |