NQuery.Core 1.0.4

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

NQuery

Simple caching layer for data fetching

Installing NQuery

You can install NQuery with NuGet:

Install-Package NQuery

Or for Redis

Install-Package NQuery.Redis

Or via the .NET Core command line interface:

dotnet add package NQuery

Or for Redis

dotnet add package NQuery

Using NQuery

You can use NQuery as

var query = NQuery.Create(new NQueryConfiguration{
    UseInMemory = true
});

await query.Query( "query-key", await () => QueryYourData() );

Or for Asp.net Core Dependency for Redis as

services.AddNQuery(cfg =>
{
    cfg.UseRedis(opts =>
    {
        opts.Endpoints.Add(new RedisEndpoint() { Host = "localhost", Port = 6379 });
    });
})

Examples

See Test

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
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 NQuery.Core:

Package Downloads
NQuery.Redis

Simple caching layer for data fetching

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.4 2,188 10/27/2023
1.0.3 318 10/26/2023
1.0.1 334 10/25/2023