Soenneker.DataTables.Attributes.Searchable
11.0.37
Prefix Reserved
dotnet add package Soenneker.DataTables.Attributes.Searchable --version 11.0.37
NuGet\Install-Package Soenneker.DataTables.Attributes.Searchable -Version 11.0.37
<PackageReference Include="Soenneker.DataTables.Attributes.Searchable" Version="11.0.37" />
<PackageVersion Include="Soenneker.DataTables.Attributes.Searchable" Version="11.0.37" />
<PackageReference Include="Soenneker.DataTables.Attributes.Searchable" />
paket add Soenneker.DataTables.Attributes.Searchable --version 11.0.37
#r "nuget: Soenneker.DataTables.Attributes.Searchable, 11.0.37"
#:package Soenneker.DataTables.Attributes.Searchable@11.0.37
#addin nuget:?package=Soenneker.DataTables.Attributes.Searchable&version=11.0.37
#tool nuget:?package=Soenneker.DataTables.Attributes.Searchable&version=11.0.37
Soenneker.DataTables.Attributes.Searchable
DataTableSearchableAttribute marks model properties that a server-side DataTables query layer may include in search operations.
Installation
dotnet add package Soenneker.DataTables.Attributes.Searchable
Usage
using Soenneker.DataTables.Attributes.Searchable;
public sealed class CustomerRow
{
[DataTableSearchable]
public required string Name { get; init; }
[DataTableSearchable]
public required string Email { get; init; }
public string? InternalNote { get; init; }
}
Use reflection to build an explicit allow-list for a server-side search expression:
using System.Reflection;
PropertyInfo[] searchableProperties = typeof(CustomerRow)
.GetProperties(BindingFlags.Instance | BindingFlags.Public)
.Where(property => property.IsDefined(typeof(DataTableSearchableAttribute)))
.ToArray();
This package does not parse requests or generate queries. The consuming layer decides how each marked type is searched. Parameterize user-supplied search text, and avoid applying string operations indiscriminately to dates, numbers, or identifiers.
| Product | Versions 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. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.DataTables.Attributes.Searchable:
| Package | Downloads |
|---|---|
|
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.37 | 85 | 10/28/2026 |
| 11.0.36 | 211 | 10/26/2026 |
| 4.0.35 | 389 | 10/15/2026 |
| 4.0.34 | 148 | 10/14/2026 |
| 4.0.33 | 93 | 10/14/2026 |
| 4.0.32 | 143 | 10/13/2026 |
| 4.0.29 | 93 | 10/12/2026 |
| 4.0.28 | 156 | 10/12/2026 |
| 4.0.27 | 196 | 10/11/2026 |
| 4.0.26 | 740 | 9/24/2026 |
| 4.0.25 | 301 | 9/15/2026 |
| 4.0.24 | 412 | 9/12/2026 |
| 4.0.23 | 879 | 8/30/2026 |
| 4.0.22 | 117 | 8/29/2026 |
| 4.0.21 | 180 | 7/28/2026 |
| 4.0.20 | 132 | 7/16/2026 |
| 4.0.19 | 144 | 6/18/2026 |
| 4.0.18 | 131 | 6/5/2026 |
| 4.0.17 | 137 | 4/22/2026 |
| 4.0.16 | 141 | 3/12/2026 |
Target DataTables contracts at netstandard2.0