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
                    
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="Infosoft.Info.Subscription.Dotnet" Version="2026.10.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Infosoft.Info.Subscription.Dotnet" Version="2026.10.2" />
                    
Directory.Packages.props
<PackageReference Include="Infosoft.Info.Subscription.Dotnet" />
                    
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 Infosoft.Info.Subscription.Dotnet --version 2026.10.2
                    
#r "nuget: Infosoft.Info.Subscription.Dotnet, 2026.10.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.
#:package Infosoft.Info.Subscription.Dotnet@2026.10.2
                    
#: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=Infosoft.Info.Subscription.Dotnet&version=2026.10.2
                    
Install as a Cake Addin
#tool nuget:?package=Infosoft.Info.Subscription.Dotnet&version=2026.10.2
                    
Install as a Cake Tool

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

  1. Install the package via NuGet:
dotnet add package infosoft.info.subscription.dotnet
  1. 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.

  1. Wire up the client to the DI container:
builder.Services.AddInfoSubscription(builder.Configuration);
  1. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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