You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
11
11
@@ -38,6 +38,11 @@ Next, initialize APItoolkit in your application's entry point (e.g., `Program.cs
// Register the middleware to use the initialized client
116
+
app.Use(async (context, next) =>
117
+
{
118
+
varapiToolkit=newAPIToolkit(next, client);
119
+
awaitapiToolkit.InvokeAsync(context);
120
+
});
121
+
122
+
// app.UseEndpoint(..)
123
+
// other middleware and logic
124
+
// ...
125
+
```
126
+
127
+
63
128
> [!NOTE]
64
129
>
65
130
> - Please make sure the APItoolkit middleware is added before `UseEndpoint` and other middleware are initialized.
66
-
> - The `{ENTER_YOUR_API_KEY_HERE}` demo string should be replaced with the [API key](https://apitoolkit.io/docs/dashboard/settings-pages/api-keys?utm_source=github-sdks) generated from the APItoolkit dashboard.
131
+
> - The `{ENTER_YOUR_API_KEY_HERE}` demo string should be replaced with the [API key](https://apitoolkit.io/docs/dashboard/settings-pages/api-keys?utm_campaign=devrel&utm_medium=github&utm_source=sdks_readme) generated from the APItoolkit dashboard.
67
132
68
133
<br />
69
134
70
135
> [!IMPORTANT]
71
136
>
72
-
> To learn more configuration options (redacting fields, error reporting, outgoing requests, etc.), please read this [SDK documentation](https://apitoolkit.io/docs/sdks/dotnet/dotnetcore?utm_source=github-sdks).
137
+
> To learn more configuration options (redacting fields, error reporting, outgoing requests, etc.), please read this [SDK documentation](https://apitoolkit.io/docs/sdks/dotnet/dotnetcore?utm_campaign=devrel&utm_medium=github&utm_source=sdks_readme).
73
138
74
139
## Contributing and Help
75
140
76
141
To contribute to the development of this SDK or request help from the community and our team, kindly do any of the following:
0 commit comments