Milad.ApiKit.AspNetCore 1.0.5

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

# Milad.ApiKit.AspNetCore

Milad.ApiKit.AspNetCore is a lightweight toolkit for building clean ASP.NET Core APIs.

## Features

- Result Pattern

- ApiResult

- Custom Errors

- Pagination

- FluentResults integration

# Milad.ApiKit.AspNetCore

[![NuGet](https://img.shields.io/nuget/v/Milad.ApiKit.AspNetCore.svg)](https://www.nuget.org/packages/Milad.ApiKit.AspNetCore)

[![NuGet Downloads](https://img.shields.io/nuget/dt/Milad.ApiKit.AspNetCore.svg)](https://www.nuget.org/packages/Milad.ApiKit.AspNetCore)

[![GitHub Actions](https://github.com/milad6117/Milad.ApiKit.AspNetCore/actions/workflows/publish.yml/badge.svg)](https://github.com/milad6117/Milad.ApiKit.AspNetCore/actions)

[![License](https://img.shields.io/github/license/milad6117/Milad.ApiKit.AspNetCore)](LICENSE)

[![.NET](https://img.shields.io/badge/.NET-10-512BD4)](https://dotnet.microsoft.com/)

[![C#](https://img.shields.io/badge/C%23-13-239120)](https://learn.microsoft.com/dotnet/csharp/)

A lightweight ASP.NET Core toolkit that provides Result Pattern, API Response, Pagination, Custom Errors, and other reusable building blocks for modern APIs.

Markdown

## Installation

Install the package using the .NET CLI:

dotnet add package Milad.ApiKit.AspNetCore

Or install it from NuGet Package Manager in Visual Studio.

## Usage

### Result

var result = Result.Success();

if(result.IsSuccess)

{

Console.WriteLine("Success");

}

### Failure

var result = Result.Failure(CustomErrors.NotFound("Book"));

if(result.IsFailed)

{

Console.WriteLine(result.Errors.First().Message);

}

### Pagination

var response = new PaginationResult<BookDto>(

items,

totalCount,

page,

pageSize);

## License

MIT License

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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.5 172 6/26/2026
1.0.4 121 6/21/2026
1.0.3 117 6/20/2026
1.0.2 119 6/19/2026
1.0.1 121 6/18/2026
1.0.0 1,266 6/18/2026