DataTables.AspNet.AspNetCore2 3.0.2

dotnet add package DataTables.AspNet.AspNetCore2 --version 3.0.2                
NuGet\Install-Package DataTables.AspNet.AspNetCore2 -Version 3.0.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="DataTables.AspNet.AspNetCore2" Version="3.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DataTables.AspNet.AspNetCore2 --version 3.0.2                
#r "nuget: DataTables.AspNet.AspNetCore2, 3.0.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.
// Install DataTables.AspNet.AspNetCore2 as a Cake Addin
#addin nuget:?package=DataTables.AspNet.AspNetCore2&version=3.0.2

// Install DataTables.AspNet.AspNetCore2 as a Cake Tool
#tool nuget:?package=DataTables.AspNet.AspNetCore2&version=3.0.2                

Datatables.AspNet

Simplified opinionated model binding and mapping from jQuery DataTables into .NET typed models with support for .NET 8.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 8.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 net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.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
3.0.2 170 12/15/2024

Took project running datatables 2.1.3 and DataTables.AspNet.AspNetCore 2.0.2 updating to V3 of DataTables.AspNet.AspNetCore and get it running with some minor changes.

Updated to Net8 simply becuase I don't have older versions installed.