DataTables.AspNet.AspNetCore2 4.0.0

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

Datatables.AspNet

Simplified opinionated model binding and mapping from jQuery DataTables into .NET typed models with support for .NET 10.0.

This is a fork from (https://github.com/ALMMa/datatables.aspnet) which is the orginal author, but no longer maintained

Compatibility

This library is compatible with the following stacks:

  • .NET 10.0

Basic usage

services.RegisterDataTables();

or

[ModelBinder(typeof(ModelBinder))] IDataTablesRequest model

public virtual IActionResult ListData(IDataTablesRequest model)
{
    var data = _service.Users_Query(model);
    var total = _service.Users_Total();

    return model.GetActionResult(total, data.TotalCount, data);
}

Standard NuGet packages

Write your own code!

DataTables.AspNet ships with a core project called DataTables.AspNet.Core, which contains basic interfaces and core elements just the way DataTables needs.<br /> Feel free to use it and implement your own classes, methods and extend DataTables.AspNet in <i>your</i> very own way.

Samples

Samples are provided on the samples folder.<br />

Eager for some new code?

If you are, check out v3 branch. It has the latest code for DataTables.AspNet, including samples and more.<br /> For every release (even unstable ones) there should be a nuget package.

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 (1)

Showing the top 1 NuGet packages that depend on DataTables.AspNet.AspNetCore2:

Package Downloads
ChilliSource.Cloud.Core

Core library for ChilliSource.Cloud

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.0 105 5/26/2026
3.0.2 4,597 12/15/2024

Updates to support .NET 10.0 and support columns with data:null