Soenneker.DataTables.Dtos.ServerSideRequest 11.0.41

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

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.DataTables.Dtos.ServerSideRequest

Typed request models for DataTables server-side paging, search, and ordering.

Installation

dotnet add package Soenneker.DataTables.Dtos.ServerSideRequest

Bind a JSON request in ASP.NET Core

using Microsoft.AspNetCore.Mvc;
using Soenneker.DataTables.Dtos.ServerSideRequest;

[HttpPost("customers/table")]
public IActionResult GetCustomers([FromBody] DataTableServerSideRequest request)
{
    int start = Math.Max(request.Start, 0);
    int length = Math.Clamp(request.Length, 1, 250);

    // Apply validated search/order fields, fetch the page, and return a
    // DataTables server response using request.Draw.
    return Ok();
}

A typical JSON body is:

{
  "draw": 3,
  "start": 0,
  "length": 25,
  "search": { "value": "ada", "regex": false },
  "order": [{ "column": 1, "dir": "asc" }],
  "columns": [
    { "data": "id", "name": "id", "searchable": false, "orderable": false, "search": { "value": "", "regex": false } },
    { "data": "name", "name": "name", "searchable": true, "orderable": true, "search": { "value": "", "regex": false } }
  ]
}

DataTables commonly submits bracketed form/query keys such as columns[0][data] by default. Configure the client to send JSON when using [FromBody], or add an appropriate model binder for the default payload format.

Validate before querying

  • Clamp Length to an application-defined maximum and reject unsupported negative values such as DataTables' -1 “all rows” request.
  • Verify every Order[i].Column index before indexing Columns.
  • Map Columns[i].Data or Name to a known server-side property; never splice the client value into SQL or another query language.
  • Accept only asc or desc for Dir.
  • Do not enable regular-expression search merely because Regex is true; regex evaluation can be expensive and unsafe without timeouts and limits.
  • Treat ContinuationToken as opaque, untrusted input. DataTables does not manage this package-specific extension automatically.

Search, Order, and Columns are nullable because incomplete or custom clients may omit them. Handle that explicitly before applying a query.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.  net9.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Soenneker.DataTables.Dtos.ServerSideRequest:

Package Downloads
Soenneker.Blazor.DataTables

A Blazor interop library for DataTables

Soenneker.Quark.Suite

Shadcn-powered Blazor UI, refined and modular.

Soenneker.DataTables.Extensions.ServerSideRequest

A collection of helpful DataTableServerSideRequest extension methods

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.41 4,754 10/28/2026
11.0.40 1,976 10/26/2026
4.0.39 5,027 10/14/2026
4.0.38 682 10/14/2026
4.0.37 95 10/14/2026
4.0.36 545 10/13/2026
4.0.33 136 10/12/2026
4.0.32 175 10/12/2026
4.0.31 842 10/11/2026
4.0.30 10,533 9/24/2026
4.0.29 3,724 9/15/2026
4.0.28 3,323 9/12/2026
4.0.27 9,214 8/30/2026
4.0.25 11,896 7/28/2026
4.0.24 4,439 7/21/2026
4.0.23 3,555 7/16/2026
4.0.22 9,640 6/18/2026
4.0.21 6,901 6/5/2026
4.0.20 147 6/5/2026
4.0.19 11,185 4/22/2026
Loading failed

Target DataTables contracts at netstandard2.0