TiqriGlobalShop.Common.SharedKernel
1.0.0
dotnet add package TiqriGlobalShop.Common.SharedKernel --version 1.0.0
NuGet\Install-Package TiqriGlobalShop.Common.SharedKernel -Version 1.0.0
<PackageReference Include="TiqriGlobalShop.Common.SharedKernel" Version="1.0.0" />
<PackageVersion Include="TiqriGlobalShop.Common.SharedKernel" Version="1.0.0" />
<PackageReference Include="TiqriGlobalShop.Common.SharedKernel" />
paket add TiqriGlobalShop.Common.SharedKernel --version 1.0.0
#r "nuget: TiqriGlobalShop.Common.SharedKernel, 1.0.0"
#:package TiqriGlobalShop.Common.SharedKernel@1.0.0
#addin nuget:?package=TiqriGlobalShop.Common.SharedKernel&version=1.0.0
#tool nuget:?package=TiqriGlobalShop.Common.SharedKernel&version=1.0.0
GlobalShop.Common.SharedKernel
Shared kernel building blocks for GlobalShop services.
Features
Result Pattern — Railway-oriented error handling
Result/Result<T>— Success/failure types with railway semanticsError— Strongly-typed error record with code, description, and classificationErrorType— Enum for mapping errors to HTTP status codes (Validation, NotFound, Conflict, etc.)ValidationError— Aggregates multiple field-level errors
Domain Primitives
Entity— Base class with domain event support (PublishEvent,ClearDomainEvents)IDomainEvent— Marker interface for domain eventsIDomainEventHandler<T>— Handler contract for domain eventsIDateTimeProvider— Abstraction for testable date/time access
Installation
dotnet add package GlobalShop.Common.SharedKernel
Quick Start
using GlobalShop.Inventory.SharedKernel;
// Return success
Result<Product> result = product;
// Return failure
return Result.Failure<Product>(Error.NotFound("Product.NotFound", "Product not found"));
// Aggregate validation errors
var validationError = ValidationError.FromResults(validationResults);
Namespace Note
Types in this package use the GlobalShop.Inventory.SharedKernel namespace for backward compatibility
with existing consumers. A future major version may transition to GlobalShop.Common.SharedKernel.
License
MIT
| 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. |
-
net10.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on TiqriGlobalShop.Common.SharedKernel:
| Package | Downloads |
|---|---|
|
TiqriGlobalShop.Common.AspNetCore
Shared ASP.NET Core infrastructure for TiqriGlobalShop web APIs: exception handlers, correlation ID middleware, minimal API endpoint helpers, Swagger/OpenAPI filters, API versioning, resilient database migrations, health checks, Problem Details customization, and JSON Patch support. |
|
|
TiqriGlobalShop.Common.Application
Shared application-layer building blocks for TiqriGlobalShop services: CQRS messaging contracts (ICommand, IQuery, ICommandHandler, IQueryHandler), cross-cutting behaviors (logging, validation), IUnitOfWork, domain event dispatching, Mapster integration, and pagination helpers. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 204 | 2/10/2026 |