LightQuery 1.7.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package LightQuery --version 1.7.2                
NuGet\Install-Package LightQuery -Version 1.7.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="LightQuery" Version="1.7.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LightQuery --version 1.7.2                
#r "nuget: LightQuery, 1.7.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 LightQuery as a Cake Addin
#addin nuget:?package=LightQuery&version=1.7.2

// Install LightQuery as a Cake Tool
#tool nuget:?package=LightQuery&version=1.7.2                

ASP.NET Core ActionFilter for sorting and pagination

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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  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 (2)

Showing the top 2 NuGet packages that depend on LightQuery:

Package Downloads
LightQuery.Swashbuckle

Extensions to use LightQuery with Swashbuckle

LightQuery.NSwag

Extensions to use LightQuery with NSwag

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.4.1 467 7/4/2024
2.4.0 1,787 2/21/2024
2.3.0 5,449 11/25/2022
2.2.2 2,414 8/22/2022
2.2.1 1,111 8/3/2022
2.2.0 1,237 7/1/2022
2.1.0 17,270 8/25/2021
2.0.0 2,286 7/15/2021
1.9.1 18,796 7/16/2020
1.9.0 2,122 6/1/2020
1.8.1 639 5/14/2020
1.8.0 929 1/6/2020
1.7.2 2,015 10/16/2019
1.7.1 643 10/16/2019
1.7.0 684 10/14/2019
1.6.2 635 9/29/2019
1.6.1 3,284 8/9/2019
1.6.0 740 8/6/2019
1.5.2 7,724 1/31/2019
1.5.1 860 1/31/2019
1.5.0 979 11/29/2018
1.4.0 964 11/27/2018
1.3.0 2,689 9/15/2018
1.1.0 7,039 11/16/2017
1.0.2 1,133 8/9/2017
1.0.1 1,178 7/29/2017
1.0.0 1,113 7/14/2017

## v1.7.2:
- Fix possible `NullReferenceException` in case of relational sorting where an invalid property name is passed via the query. Thanks to GitHub user @smitpatel for discovering it!

## v1.7.1:
- Fixed a bug that caused Entity Framework Core to throw an `InvalidOperationException` when sorting was applied to projections to a class that inherited from the base query type. The error was an incorrectly used reflection invocation to determine the type the query applies to

## v1.7.0:
- Add support for ASP.NET Core 3.0

## v1.6.2:
- The .NET `PaginationBaseService` no longer makes requests when the url is null

## v1.6.1:
- Fix issue where `BadRequest` results in `AsyncLightQuery` decorated controllers with `forcePagination:true` were returning an empty `OkResult` with status code `200` instead of the original `404 - Bad Request`

## v1.6.0:
- The generated assemblies now have a strong name. This is a breaking change of the binary API and will require recompilation on all systems that consume this package. The strong name of the generated assembly allows compatibility with other, signed tools. Please note that this does not increase security or provide tamper-proof binaries, as the key is available in the source code per [Microsoft guidelines](https://msdn.microsoft.com/en-us/library/wd40t7ad(v=vs.110).aspx)

## v1.5.2:
- Bugfix: Empty results now report the `page` as `1` instead of `0`. Thanks to GitHub user @erdembas for the pull request!

## v1.5.1:
- When a `page` is requested that is higher than the last available one, the last available one will be returned instead. Thanks to GitHub user @erdembas for the pull request!

## v1.5.0:
- It's now possible to do relational sorting, meaning that nested properties can be used for sorting. For example, it is now possible to sort by `user.bankAccount.balance`. Thanks to GitHub user @erdembas for the pull request!

## v1.4.0:
- The `defaultSort` parameter was introduced for the server side controller attributes. Thanks to GitHub user @erdembas for the pull request!

## v1.3.0:
- Raise minimum supported .NET Standard version to `netstandard2.0`
- Bump version to align .NET and npm package versions

## v1.1.0:
- Publish ng-lightquery npm package for angular and include PaginationBaseService in the client libraries

## v1.0.2:
- Update version to align with new releases of LightQuery.EntityFrameworkCore and LightQuery.Client. Added support for EntityFrameworkCore async materialization of queries and a client side package for easier consuming of APIs

## v1.0.1:
- Forced pagination was not applied when no query string at all was present in the Http request

## v1.0.0:
- Initial release