Infosoft.Info.Subscription.Dotnet
2026.10.2
Prefix Reserved
dotnet add package Infosoft.Info.Subscription.Dotnet --version 2026.10.2
NuGet\Install-Package Infosoft.Info.Subscription.Dotnet -Version 2026.10.2
<PackageReference Include="Infosoft.Info.Subscription.Dotnet" Version="2026.10.2" />
<PackageVersion Include="Infosoft.Info.Subscription.Dotnet" Version="2026.10.2" />
<PackageReference Include="Infosoft.Info.Subscription.Dotnet" />
paket add Infosoft.Info.Subscription.Dotnet --version 2026.10.2
#r "nuget: Infosoft.Info.Subscription.Dotnet, 2026.10.2"
#:package Infosoft.Info.Subscription.Dotnet@2026.10.2
#addin nuget:?package=Infosoft.Info.Subscription.Dotnet&version=2026.10.2
#tool nuget:?package=Infosoft.Info.Subscription.Dotnet&version=2026.10.2
This project serves as a class library containing a .NET SDK/API Client for the INFO-Subscription API.
To simplify things the main client is generated using Kiota based on the OpenAPI specification (swagger.json) provided by the INFO-Subscription API.
Only a subset of the API is currently generated to keep things manageable. If you need additional endpoints please open an issue or a pull request.
Getting started
- Install the package via NuGet:
dotnet add package infosoft.info.subscription.dotnet
- Add the required settings to
appsettings.json(or configure the same values in environment variables / your hosting config):
{
"InfoSubscription": {
"TenantId": "00000000-0000-0000-0000-000000000000",
"ApiEndpoint": "https://api.info-subscription.com"
},
"Adb2cSettings": {
"ClientId": "00000000-0000-0000-0000-000000000000",
"ClientSecret": "your-b2c-client-secret",
"B2CTenantName": "prodlogins4",
"SignInPolicy": "B2C_1A_V2SIGNIN",
"ScopeName": "api"
}
}
B2CTenantName defaults to prodlogins4 if omitted, but it is shown here explicitly so the tenant and API audience are obvious.
- Wire up the client to the DI container:
builder.Services.AddInfoSubscription(builder.Configuration);
- Call the client from your code:
public class MyService
{
private readonly InfoSubscription client;
public MyService(InfoSubscription client)
{
this.client = client;
}
public async Task DoSomethingAsync()
{
var products = await client.Product.GetAsync();
// Do something with the Products
}
}
The sample in the GitHub repository shows a more complete example for a console application.
Configuration reference
| Section / property | Required | Default | Description |
|---|---|---|---|
InfoSubscription:TenantId |
✅ | — | Tenant GUID sent as S4-TenantId on each request |
InfoSubscription:ApiEndpoint |
https://api.info-subscription.com |
Base API URL used by the generated client | |
Adb2cSettings:ClientId |
✅ | — | Azure AD B2C application (client) ID |
Adb2cSettings:ClientSecret |
✅ | — | Azure AD B2C client secret |
Adb2cSettings:B2CTenantName |
prodlogins4 |
B2C tenant name, e.g. prodlogins4 for prodlogins4.b2clogin.com |
|
Adb2cSettings:SignInPolicy |
B2C_1A_V2SIGNIN |
B2C sign-in policy | |
Adb2cSettings:ScopeName |
api |
API scope name |
Feedback and Contributions
Feel free to register issues or create Pull Requests on GitHub if you want to contribute or have suggestions for improvements.
Support
This is an UNSUPPORTED package, and it is provided "as-is" without any warranties. If you need official support for the platform/api, please contact Infosoft support.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Azure.Identity (>= 1.21.0)
- Microsoft.Extensions.Configuration (>= 10.0.8)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.8)
- Microsoft.Extensions.Http.Polly (>= 10.0.8)
- Microsoft.Kiota.Abstractions (>= 1.22.2 && < 2.0.0)
- Microsoft.Kiota.Authentication.Azure (>= 1.22.2 && < 2.0.0)
- Microsoft.Kiota.Http.HttpClientLibrary (>= 1.22.2 && < 2.0.0)
- Microsoft.Kiota.Serialization.Form (>= 1.22.2 && < 2.0.0)
- Microsoft.Kiota.Serialization.Json (>= 1.22.2 && < 2.0.0)
- Microsoft.Kiota.Serialization.Multipart (>= 1.22.2 && < 2.0.0)
- Microsoft.Kiota.Serialization.Text (>= 1.22.2 && < 2.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 |
|---|---|---|
| 2026.10.2 | 43 | 10/23/2026 |
| 2026.10.1 | 86 | 10/12/2026 |
| 2026.9.21-preview7 | 100 | 9/21/2026 |
| 2026.9.21-preview6 | 89 | 9/21/2026 |
| 2026.9.21-preview5 | 86 | 9/21/2026 |
| 2026.9.21-preview4 | 90 | 9/21/2026 |
| 2026.9.21-preview3 | 87 | 9/21/2026 |
| 2026.9.21-preview2 | 88 | 9/21/2026 |
| 2026.9.21-preview1 | 93 | 9/21/2026 |
| 2026.9.4-preview4 | 95 | 9/21/2026 |
| 2026.9.4-preview3 | 123 | 9/21/2026 |
| 2026.9.2 | 117 | 10/7/2026 |