ApiToolkit.Net 1.0.7

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

<div align="center">

APItoolkit's Logo APItoolkit's Logo

.NET Core SDK

APItoolkit SDK Join Discord Server APItoolkit Docs Build Status NuGet Nuget

APItoolkit is an end-to-end API and web services management toolkit for engineers and customer support teams. To integrate .Net web services with APItoolkit, you need to use this SDK to monitor incoming traffic, aggregate the requests, and then deliver them to the APItoolkit's servers.

</div>


Table of Contents


Installation

Kindly run the command below to install the package:

dotnet add package ApiToolkit.Net

Configuration

Next, initialize APItoolkit in your application's entry point (e.g., Program.cs) like so:

using ApiToolkit.Net;

// Initialize the APItoolkit client
var config = new Config
{
    ApiKey = "{ENTER_YOUR_API_KEY_HERE}",
    Debug = false,
    Tags = new List<string> { "environment: production", "region: us-east-1" },
    ServiceVersion: "v2.0",
};
var client = await APIToolkit.NewClientAsync(config);
// END Initialize the APItoolkit client

# Register the middleware to use the initialized client
app.Use(async (context, next) =>
{
    var apiToolkit = new APIToolkit(next, client);
    await apiToolkit.InvokeAsync(context);
});

# app.UseEndpoint(..)
# other middleware and logic
# ...

  • Please make sure the APItoolkit middleware is added before UseEndpoint and other middleware are initialized.
  • The {ENTER_YOUR_API_KEY_HERE} demo string should be replaced with the API key generated from the APItoolkit dashboard.

<br />

To learn more configuration options (redacting fields, error reporting, outgoing requests, etc.), please read this SDK documentation.

Contributing and Help

To contribute to the development of this SDK or request help from the community and our team, kindly do any of the following:

License

This repository is published under the MIT license.


<div align="center">

<a href="https://apitoolkit.io?utm_campaign=devrel&utm_medium=github&utm_source=sdks_readme" target="_blank" rel="noopener noreferrer"><img src="https://github.com/apitoolkit/.github/blob/main/images/icon.png?raw=true" width="40" /></a>

</div>

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 was computed.  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. 
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
2.1.2 132 1/19/2025
2.1.1 86 1/19/2025
2.0.1 97 1/19/2025
2.0.0 99 1/19/2025
1.0.8 204 9/3/2024
1.0.7 125 9/2/2024
1.0.6 1,227 8/15/2024
1.0.5 150 7/1/2024
1.0.4 191 4/17/2024
1.0.3 251 5/8/2023
1.0.2 177 5/8/2023
1.0.1 151 5/8/2023
1.0.0 173 5/7/2023