Knowmax.Quest.Client
5.0.0-beta2
See the version list below for details.
dotnet add package Knowmax.Quest.Client --version 5.0.0-beta2
NuGet\Install-Package Knowmax.Quest.Client -Version 5.0.0-beta2
<PackageReference Include="Knowmax.Quest.Client" Version="5.0.0-beta2" />
paket add Knowmax.Quest.Client --version 5.0.0-beta2
#r "nuget: Knowmax.Quest.Client, 5.0.0-beta2"
// Install Knowmax.Quest.Client as a Cake Addin #addin nuget:?package=Knowmax.Quest.Client&version=5.0.0-beta2&prerelease // Install Knowmax.Quest.Client as a Cake Tool #tool nuget:?package=Knowmax.Quest.Client&version=5.0.0-beta2&prerelease
Knowmax Quest Client
Strongly opiniated client exclusively in use by Knowmax for connecting clients to Knowmax Quest 5 API. Designed for use with dependency injection in ASP.NET.
Getting started
Add Knowmax.Quest.Client
to your project using NuGet. Knowmax.Quest.Client relies on the Knowmax.Magma.Client
package, which is also available on NuGet and must be installed and configured properly.
Make sure to make Knowmax Quest Client service options available in your configuration.
services.Configure<Knowmax.Quest.Client.ServiceOptions>(configuration.GetSection("Quest"));
Sample JSON configuration for use in appsettings.json
:
"Quest": {
"ApplicationName": "reference-app",
"Endpoint": "https://quest.knowmax.com",
"SearchService": {
"ApiKey": "",
"ApiVersion": "2023-07-01-Preview"
}
}
Use the following code to add default Knowmax Quest Client services to your depencency injection container.
services.AddKnowmaxQuest()
This sample uses the AddKnowmaxQuest extension method to add the Knowmax Quest Client services to the dependency injection container. By default only the AuthenticationService
will be added. Use options
to include optional other services:
services.AddKnowmaxQuest(options => {
options.Document = true;
options.Search = true;
});
Example use using using dependency injection to obtain a Knowmax Quest token using data configured for a Knowmax Magma user.
var tokeninfo = await authenticationService.GetTokenUsingMagmaAsync();
License
This package is licensed MIT, which waives all copyright restrictions.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- Knowmax.LinqUtility (>= 1.3.0)
- Knowmax.Magma.Client (>= 4.6.0)
- Microsoft.Extensions.Http (>= 8.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.
Version | Downloads | Last updated |
---|---|---|
5.0.0-rc1 | 153 | 6/26/2024 |
5.0.0-beta6 | 79 | 6/18/2024 |
5.0.0-beta5 | 59 | 6/18/2024 |
5.0.0-beta4 | 47 | 6/13/2024 |
5.0.0-beta3 | 53 | 6/12/2024 |
5.0.0-beta2 | 48 | 6/12/2024 |
5.0.0-beta1 | 47 | 6/12/2024 |
5.0.0-alpha6 | 49 | 6/11/2024 |
5.0.0-alpha5 | 54 | 6/10/2024 |
5.0.0-alpha3 | 67 | 6/3/2024 |
5.0.0-alpha2 | 67 | 6/1/2024 |
5.0.0-alpha | 60 | 6/1/2024 |