DataTables.AspNet.Mvc5V2
2.0.9
dotnet add package DataTables.AspNet.Mvc5V2 --version 2.0.9
NuGet\Install-Package DataTables.AspNet.Mvc5V2 -Version 2.0.9
<PackageReference Include="DataTables.AspNet.Mvc5V2" Version="2.0.9" />
<PackageVersion Include="DataTables.AspNet.Mvc5V2" Version="2.0.9" />
<PackageReference Include="DataTables.AspNet.Mvc5V2" />
paket add DataTables.AspNet.Mvc5V2 --version 2.0.9
#r "nuget: DataTables.AspNet.Mvc5V2, 2.0.9"
#:package DataTables.AspNet.Mvc5V2@2.0.9
#addin nuget:?package=DataTables.AspNet.Mvc5V2&version=2.0.9
#tool nuget:?package=DataTables.AspNet.Mvc5V2&version=2.0.9
<h1>Datatables.AspNet</h1> Formely known as <strong>DataTables.Mvc</strong>, this project startedwith small objectives around 2014, aiming to provide intermediate and experienced developers a tool to avoid the boring process of handling DataTables parameters.<br /> More than a year later and after a full rewrite we are now proud to support Asp.net MVC, WebApi and Asp.Net Core (full .NET Core support).<br /> Unit-testing is a priority to avoid breaking <i>your</i> app and every stable release should provide better and wider test cases.
<h3>Stable 2.0.0 version is here!</h3>
2.0.0 stable release now ships with full support for DotNet Core 1.0.0, along with extensions, tests and all the fun we can get.
This is the first stable version for DataTables.AspNet. We dropped the full migration path because we made everything clean and simple and included some basic usage samples to guide you.
<h3>Standard NuGet packages</h3>
DataTables.AspNet.Mvc5 with support for Mvc5, registration and automatic binders
DataTables.AspNet.WebApi2 with support for WebApi2, registration and automatic binders
DataTables.AspNet.AspNetCore with support for AspNetCore, dependency injection and automatic binders
<h3>IMPORTANT: Deprecated (unlisted) package</h3>
This package has been replaced by DataTables.AspNet.AspNetCore due to Microsoft renaming of the new platform.
<h3>Write your own code!</h3>
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.
<h3>Helpers and extensions</h3>
DataTables.AspNet.Extensions.AnsiSql enables basic translation from sort and filter into ANSI-SQL
WHEREandORDER BYDataTables.AspNet.Extensions.DapperExtensions transforms filters into
IPredicateand sort intoISort
Those are still alpha1 releases but with nuget packages available. There are no tests yet, they are in a very initial phase and might change a bit in the near future. After they become stable I'll accept pull requests for other extensions (eg: NHibernate, EntityFramework, etc). For now, keep in mind that these two are supposed to set the basic extension standard for DataTables.AspNet.Extensions.
<h3>Samples</h3>
Samples are provided on the samples folder.<br />
There is no wiki yet. I will start writing a very gorgeous wiki, just don't know when. Tons of work and no time. Sorry.
I am open to contributors 😃
<h3>Eager for some new code?</h3> If you are, check out dev 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.
<h3>Stable code?</h3>
For production code, I do recommend the master branch. It holds the stable version. Every stable version has a stable Nuget release.<br />
<h3>Still legacy?</h3> Drop it!<br /> 2.0.0 (stable) is faster, better coded and fully tested. DataTables.Mvc is now completely discontinued.
<h3>Known issues</h3>
- There are some issues while trying to run all tests simultaneously. I'll try to fix that by including some test ordering.
- Extension methods do not have tests yet and should not be used on production code.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- DataTables.AspNet.CoreV2 (>= 2.0.6)
- Microsoft.AspNet.Mvc (>= 5.3.0)
- System.Text.Json (>= 9.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Updated dependencies and framework.