RepositoryKit.Extensions 9.0.3

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

<div align="center"> <img src="logo-64x64.png" width="120" alt="RepositoryKit logo" />

RepositoryKit.Extensions

Reusable LINQ and Collection Extensions for RepositoryKit and .NET

</div>


📦 Package

This package provides provider-agnostic extension methods for LINQ queries and collections.

  • Designed for use with any data provider (EF, Mongo, Dapper, InMemory, etc.)
  • No dependencies except for .NET Standard LINQ
  • All methods are static, lightweight, and high performance

✅ Extensions

File Highlights & Example Methods
IQueryableExtensions.cs ToPagedList, ApplySorting, DynamicWhere, SelectAs
IEnumerableExtensions.cs ForEach, SafeDistinct, Shuffle, GroupBySelect

📁 Typical Usage

Chain extension methods in your query and projection flow:

var paged = db.Products.Query().ApplySorting("Name").ToPagedList(page: 1, pageSize: 10);

var summaries = paged.SelectAs(x => new ProductSummaryDto
{
    Id = x.Id,
    Name = x.Name
});

paged.ForEach(product => Console.WriteLine(product.Name));

✨ Features

  • Pure extension methods for IQueryable<T> and IEnumerable<T>
  • Plug-and-play usage: no extra setup required
  • All methods work on any provider or in-memory source

🤝 Dependencies

  • No external dependencies (just .NET Standard LINQ)

📜 License

MIT © Ataberk Kaya


📎 Designed to be used with RepositoryKit, but useful in any .NET project

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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 (1)

Showing the top 1 NuGet packages that depend on RepositoryKit.Extensions:

Package Downloads
RepositoryKit

Umbrella package for RepositoryKit - a modular repository pattern infrastructure that supports EF Core, MongoDB and clean LINQ extensions.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
9.0.3 127 6/3/2025
9.0.2 132 6/1/2025

Initial stable version with LINQ-focused helper methods compatible with .NET 9.