IntelligentPlant.DataCore.HttpClient 3.5.0-pre.426

This is a prerelease version of IntelligentPlant.DataCore.HttpClient.
There is a newer version of this package available.
See the version list below for details.
dotnet add package IntelligentPlant.DataCore.HttpClient --version 3.5.0-pre.426
                    
NuGet\Install-Package IntelligentPlant.DataCore.HttpClient -Version 3.5.0-pre.426
                    
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="IntelligentPlant.DataCore.HttpClient" Version="3.5.0-pre.426" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IntelligentPlant.DataCore.HttpClient" Version="3.5.0-pre.426" />
                    
Directory.Packages.props
<PackageReference Include="IntelligentPlant.DataCore.HttpClient" />
                    
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 IntelligentPlant.DataCore.HttpClient --version 3.5.0-pre.426
                    
#r "nuget: IntelligentPlant.DataCore.HttpClient, 3.5.0-pre.426"
                    
#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 IntelligentPlant.DataCore.HttpClient@3.5.0-pre.426
                    
#: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=IntelligentPlant.DataCore.HttpClient&version=3.5.0-pre.426&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=IntelligentPlant.DataCore.HttpClient&version=3.5.0-pre.426&prerelease
                    
Install as a Cake Tool

IntelligentPlant.DataCore.HttpClient

This package defines types for calling the Intelligent Plant Data Core API, used by Industrial App Store apps, and on-premises apps from Intelligent Plant.

Please consider using one of the following packages to simplify configuration of Data Core API client applications:

Package App Type Description
IntelligentPlant.IndustrialAppStore.AspNetCore ASP.NET Core Provides a strongly-typed client for querying the Industrial App Store Data API, an authentication handler that is pre-configured to use the Industrial App Store for authentication, and additional services and middlewares for implementing features such as Content Security Policies.
IntelligentPlant.IndustrialAppStore.CommandLine CLI Provides a strongly-typed client for querying the Industrial App Store Data API, and services for authenticating with the Industrial App Store using the OAuth 2.0 device code authorization flow.
IntelligentPlant.IndustrialAppStore.Templates Provides project templates for dotnet new and Visual Studio for creating apps that are pre-configured to use one of the two above packages.

The packages can also be used to write on-premises apps that interface with a local Data Core API instance.

Getting Started

The following sections describe how to configure API clients for querying standalone Data Core API instances using static authentication:

Windows Authentication

To create a Data Core API client for querying a standalone Data Core API instance using Windows authentication, use the DataCoreHttpClient class, ensuring that the HttpClient you provide has the appropriate credentials configured:

var handler = new HttpClientHandler() {
    Credentials = new NetworkCredential("username", "password")
};
var httpClient = new HttpClient(handler);

var options = new DataCoreHttpClientOptions() {
    // Remember the trailing / at the end of the URL!
    DataCoreUrl = new Uri("https://path/to/data/core/")
};

var client = new DataCoreHttpClient(httpClient, options);

var dataSources = await client.DataSources.GetDataSourcesAsync();

Static Authentication Header

When creating a Data Core API client for querying a Data Core API instance using a fixed authentication header (e.g. using Basic authentication), it is not necessary to manually create the inner HTTP message handler for the HttpClient instance. Instead, default request headers can be specified on the HttpClient:

var httpClient = new HttpClient();
httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(
    "Basic",
    Convert.ToBase64String(Encoding.ASCII.GetBytes("username:password"))
);

var options = new DataCoreHttpClientOptions() {
    // Remember the trailing / at the end of the URL!
    DataCoreUrl = new Uri("https://path/to/data/core/")
};

var client = new DataCoreHttpClient(httpClient, options);

var dataSources = await client.DataSources.GetDataSourcesAsync();
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 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.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  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 (1)

Showing the top 1 NuGet packages that depend on IntelligentPlant.DataCore.HttpClient:

Package Downloads
IntelligentPlant.IndustrialAppStore.HttpClient

Strongly-typed client for Intelligent Plant's Industrial App Store API.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.5.0 402 11/26/2025
3.5.0-pre.426 133 10/22/2025
3.5.0-pre.420 144 7/28/2025
3.5.0-pre.417 155 7/2/2025
3.5.0-pre.414 148 5/20/2025
3.5.0-pre.409 94 5/9/2025
3.4.2 376 10/22/2025
3.4.1 408 4/8/2025
3.4.0 409 4/8/2025
3.3.0 302 2/28/2025
3.3.0-pre.382 84 2/26/2025
3.2.0 313 2/3/2025
3.1.0 337 12/12/2024
3.0.0 326 11/27/2024
3.0.0-pre.361 93 11/20/2024
3.0.0-pre.358 86 11/20/2024
3.0.0-pre.351 93 11/15/2024
3.0.0-pre.348 106 11/11/2024
3.0.0-pre.339 89 11/7/2024
3.0.0-pre.328 111 10/31/2024
3.0.0-pre.320 92 10/31/2024
2.3.0-pre.293 154 2/6/2024
2.3.0-pre.280 210 3/28/2023
2.3.0-pre.269 254 9/9/2022
2.3.0-pre.259 231 6/28/2022
2.3.0-pre.256 240 6/27/2022
2.3.0-pre.236 252 3/24/2022
2.2.3 273 10/29/2024
2.2.2 272 10/10/2024
2.2.1 1,497 5/11/2022
2.2.0 1,474 3/10/2022
2.1.0 1,507 2/23/2022
2.1.0-alpha.220 263 2/23/2022
2.1.0-alpha.216 250 2/23/2022
2.1.0-alpha.213 239 2/22/2022
2.1.0-alpha.210 241 2/22/2022
2.1.0-alpha.207 242 2/22/2022
2.0.0 1,487 2/17/2022
2.0.0-beta.195 249 2/17/2022
2.0.0-beta.175 248 2/10/2022
2.0.0-beta.171 246 2/9/2022
2.0.0-beta.165 258 1/13/2022
2.0.0-beta.162 251 1/6/2022
2.0.0-beta.158 249 1/5/2022
2.0.0-alpha.148 304 11/12/2021
2.0.0-alpha.139 283 11/11/2021
1.4.0 1,093 7/14/2021
1.2.1 991 4/7/2021
1.2.0 998 2/8/2021
1.1.0 991 1/18/2021
1.0.2 895 12/3/2020
1.0.1 925 12/3/2020
1.0.0 959 10/13/2020
1.0.0-alpha32 742 8/7/2020
1.0.0-alpha29 709 7/13/2020
1.0.0-alpha27 683 7/10/2020
1.0.0-alpha25 731 7/10/2020
1.0.0-alpha22 692 7/10/2020