Indiko.Common.Abstractions 2.1.2

dotnet add package Indiko.Common.Abstractions --version 2.1.2
                    
NuGet\Install-Package Indiko.Common.Abstractions -Version 2.1.2
                    
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="Indiko.Common.Abstractions" Version="2.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Indiko.Common.Abstractions" Version="2.1.2" />
                    
Directory.Packages.props
<PackageReference Include="Indiko.Common.Abstractions" />
                    
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 Indiko.Common.Abstractions --version 2.1.2
                    
#r "nuget: Indiko.Common.Abstractions, 2.1.2"
                    
#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 Indiko.Common.Abstractions@2.1.2
                    
#: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=Indiko.Common.Abstractions&version=2.1.2
                    
Install as a Cake Addin
#tool nuget:?package=Indiko.Common.Abstractions&version=2.1.2
                    
Install as a Cake Tool

Indiko.Common.Abstractions

Core abstractions and base types for the Indiko framework, providing foundational models, entities, and interfaces for building .NET applications.

Overview

This package contains essential abstractions, base classes, and common models that serve as building blocks for domain-driven design and API development.

Features

  • Base Entities: Standard entity base classes with common properties (Id, CreatedAt, UpdatedAt, Status, audit fields)
  • Response Models: Standardized API response wrappers (BaseResponse<T>, PagedResponse<T>)
  • Paging Support: Built-in pagination models (PagedList<T>, QueryStringParameters)
  • Common Interfaces: Core contracts (IEntity, IHasId<T>, IPagedList<T>)
  • Status Management: Enumerations for entity status and dirty state tracking
  • Time Range Models: Date/time range abstractions for queries and filtering

Installation

dotnet add package Indiko.Common.Abstractions

Key Components

Base Entities

public class User : BaseEntity
{
    public string Name { get; set; }
    public string Email { get; set; }
}

// Generic ID type support
public class Product : BaseEntity<int>
{
    public string Name { get; set; }
    public decimal Price { get; set; }
}

Response Models

// Standard API response
var response = new BaseResponse<User>
{
    StatusCode = 200,
    IsSuccess = true,
    Data = user,
    Message = "User retrieved successfully"
};

// Paged response
var pagedResponse = new PagedResponse<User>
{
    Data = users,
    TotalCount = 100,
    PageNumber = 1,
    PageSize = 10
};

Paging Support

// Query parameters
var parameters = new QueryStringParameters
{
    PageNumber = 1,
    PageSize = 20
};

// Create paged list
var pagedList = new PagedList<User>(users, totalCount, pageNumber, pageSize);

Target Framework

  • .NET 10

Dependencies

None - this is a zero-dependency abstraction package.

License

See LICENSE file in the repository root.

  • Indiko.Common.Utils - Utility extensions and helpers
  • Indiko.Common.Runtime.Abstractions - Runtime and bootstrapping abstractions
Product 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 (4)

Showing the top 4 NuGet packages that depend on Indiko.Common.Abstractions:

Package Downloads
Indiko.Blocks.DataAccess.Abstractions

Building Blocks DataAccess Abstractions

Indiko.Blocks.Widget.Common.Abstractions

Building Blocks Widget Common Abstractions

Indiko.IAM.Abstractions

Building Blocks IAM Abstractions

Indiko.Blocks.AI.Abstractions

Building Blocks AI Abstractions

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.2 362 12/18/2025
2.1.1 771 12/2/2025
2.1.0 716 12/2/2025
2.0.0 330 9/17/2025
1.7.23 525 9/8/2025
1.7.22 286 9/8/2025
1.7.21 317 8/14/2025
1.7.20 357 6/23/2025
1.7.19 319 6/3/2025
1.7.18 296 5/29/2025
1.7.17 299 5/26/2025
1.7.15 306 4/12/2025
1.7.14 268 4/11/2025
1.7.13 279 3/29/2025
1.7.12 273 3/28/2025
1.7.11 286 3/28/2025
1.7.10 265 3/28/2025
1.7.9 268 3/28/2025
1.7.8 283 3/28/2025
1.7.5 328 3/17/2025
Loading failed