Callcounter.Net
0.1.0
dotnet add package Callcounter.Net --version 0.1.0
NuGet\Install-Package Callcounter.Net -Version 0.1.0
<PackageReference Include="Callcounter.Net" Version="0.1.0" />
paket add Callcounter.Net --version 0.1.0
#r "nuget: Callcounter.Net, 0.1.0"
// Install Callcounter.Net as a Cake Addin #addin nuget:?package=Callcounter.Net&version=0.1.0 // Install Callcounter.Net as a Cake Tool #tool nuget:?package=Callcounter.Net&version=0.1.0
Callcounter .NET integration gem
This package can be used to gather API request & response data from ASP.NET Core based applications and send it to Callcounter.
Callcounter is an API analytics platform that collect information about requests (calls) to your API using so-called integrations. Integrations come in the form of a Ruby gem, a Nuget package, a Pip module, etcetera. The integrations can send the data to Callcounter using an API, which is described at: https://callcounter.eu/pages/api
After collecting data, the web interface can then be used to view all kinds of metrics, giving you insight in the (mis)usage of your API.
Install
Run dotnet add package Callcounter
to add the latest available version to your project.
Configuration
Configure callcounter with the following key, this can be placed in your appsettings.json
.
{
"CallcounterProjectToken": "/* fill with your project token */"
}
Now extend you Startup.cs
with a call to app.UseCallcounter();
in the Configure
method and a call to services.AddCallcounter();
in the ConfigureServices
method.
After deploying you should start seeing data in Callcounter. Note that this might take some time because this package only sends data every few requests or every few minutes.
Bug reporting
Bugs can be reported through the Github issues found at: https://github.com/jessetilro/callcounter.net/issues
Releasing
- Verify tests pass.
- Increment version number in:
Callcounter.Net/Callcounter.Net/CallCounter.Net.csproj
- Increment user agent version number in:
Callcounter.Net/Callcounter.Net/CallcounterMiddleWare.cs
- Commit all changes.
- Create a git tag for the release.
- Push the git tag.
- Build the nuget package:
dotnet build
- Upload the generated file to nuget.org
About Callcounter
Callcounter is a service built by Webindie that helps API providers with debugging and optimising the usage of their APIs.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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 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. |
-
net5.0
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 5.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Http (>= 5.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 |
---|