apiConnectorCore 1.0.5
dotnet add package apiConnectorCore --version 1.0.5
NuGet\Install-Package apiConnectorCore -Version 1.0.5
<PackageReference Include="apiConnectorCore" Version="1.0.5" />
<PackageVersion Include="apiConnectorCore" Version="1.0.5" />
<PackageReference Include="apiConnectorCore" />
paket add apiConnectorCore --version 1.0.5
#r "nuget: apiConnectorCore, 1.0.5"
#:package apiConnectorCore@1.0.5
#addin nuget:?package=apiConnectorCore&version=1.0.5
#tool nuget:?package=apiConnectorCore&version=1.0.5
apiConnectorCore
Overview
The apiConnectorCore package is the .NET Core compatible successor to the legacy connector. It wraps authenticated HTTP requests against Net3000 APIs, supports typed responses, and includes asynchronous error forwarding that works with ASP.NET Core middleware and dependency injection.
Public API
<details> <summary>net3000.apiConnector</summary>
| Member | Summary | Parameters |
|---|---|---|
Task PostErrorDetailAsync(IExceptionHandlerPathFeature exceptionHandlerPathFeature, HttpContext context, string? customMessage) |
Post Error Detail Async. | exceptionHandlerPathFeature (IExceptionHandlerPathFeature), context (HttpContext), customMessage (string?) |
string getRawResponse(string url) |
Get Raw Response. | url (string) |
apiResponse getRequest(string url) |
Get Request. | url (string) |
</details>
Usage Notes
- Set the
configurationandmyContextproperties so that account headers and tokens are injected before callinggetRequest. - Use the generic overload
getRequest<T>when a typed API response is required. PostErrorDetailAsynccan be plugged into ASP.NET Core exception handlers to mirror legacy error logging behaviour.
License
This library is proprietary to Net3000. Redistribution or use outside Net3000.ca solutions is not permitted.
| 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
- net3000.common (>= 10.0.21)
- net3000.common.models (>= 1.0.15)
- Newtonsoft.Json (>= 13.0.4)
- System.IdentityModel.Tokens.Jwt (>= 8.17.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 |
|---|---|---|
| 1.0.5 | 114 | 7/8/2026 |
| 1.0.4 | 112 | 7/4/2026 |
| 1.0.3 | 215 | 1/4/2026 |
| 1.0.1 | 326 | 7/15/2025 |
| 1.0.0.9 | 267 | 7/15/2025 |
| 1.0.0.8 | 268 | 7/15/2025 |
| 1.0.0.7 | 310 | 4/10/2025 |
| 1.0.0.6 | 316 | 4/9/2025 |
| 1.0.0.5 | 612 | 3/25/2025 |
| 1.0.0.4 | 615 | 3/25/2025 |
| 1.0.0.3 | 387 | 7/17/2023 |
| 1.0.0.2 | 699 | 4/14/2022 |
| 1.0.0.1 | 595 | 3/20/2022 |
1.0.5: Error-reporting hardening + one-line wiring. PostErrorDetailAsync now redacts on the wire — sends NO request cookies, forwards only an allowlist of diagnostic headers (User-Agent, Referer, Host, X-Forwarded-For, Accept-Language), and strips the query string from the reported url. The errors-API token is sourced from AppSettings:errorsApiToken (constant fallback) and the report POST has an explicit 5s timeout so a slow endpoint can't stall the error page. New IApplicationBuilder.UseNet3000ErrorReporting(errorPath = "/message") wires the exception handler + report in one line while preserving the friendly page and never throwing into the request.