Moesif.Middleware
1.0.1
See the version list below for details.
dotnet add package Moesif.Middleware --version 1.0.1
NuGet\Install-Package Moesif.Middleware -Version 1.0.1
<PackageReference Include="Moesif.Middleware" Version="1.0.1" />
paket add Moesif.Middleware --version 1.0.1
#r "nuget: Moesif.Middleware, 1.0.1"
// Install Moesif.Middleware as a Cake Addin #addin nuget:?package=Moesif.Middleware&version=1.0.1 // Install Moesif.Middleware as a Cake Tool #tool nuget:?package=Moesif.Middleware&version=1.0.1
Moesif Middleware for DotNet
Middleware SDK that captures incoming or outgoing API calls from .NET apps and sends to Moesif API Analytics.
How to install
Install the Nuget Package:
Install-Package Moesif.Middleware
How to use
In Startup.cs
file in your project directory, please add app.UseMiddleware<MoesifMiddleware>(moesifOptions);
to the pipeline.
Because of middleware execution order, it is best to add middleware below SessionMiddleware and AuthenticationMiddleware, because they add useful session data that enables deeper error analysis. On the other hand, if you have other middleware that modified response before going out, you may choose to place Moesif middleware above the middleware modifying response. This allows Moesif to see the modifications to the response data and see closer to what is going over the wire.
Add the middleware to your application:
app.UseMiddleware<MoesifMiddleware>(moesifOptions);
Also, add moesifOptions to your settings file,
// moesifOptions is an object of type Dictionary<string, object> which holds configuration options for your application.
Dictionary<string, object> moesifOptions = new Dictionary<string, object>
{
{"ApplicationId", "Your Moesif Application Id"},
{"LogBody", true},
...
# For other options see below.
};
Your Moesif Application Id can be found in the Moesif Portal. After signing up for a Moesif account, your Moesif Application Id will be displayed during the onboarding steps.
You can always find your Moesif Application Id at any time by logging into the Moesif Portal, click on the top right menu, and then clicking Installation.
Product | Versions 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 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. |
.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 is compatible. 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. |
-
.NETFramework 4.6.1
- Microsoft.Owin (>= 4.0.1)
- Moesif.Api (>= 1.1.5)
- Newtonsoft.Json (>= 12.0.2)
-
.NETStandard 2.0
- Microsoft.AspNetCore.Http (>= 2.2.2)
- Microsoft.AspNetCore.Http.Extensions (>= 2.2.0)
- Moesif.Api (>= 1.1.5)
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 |
---|---|---|
3.0.9 | 34 | 11/12/2024 |
1.5.1 | 81 | 11/8/2024 |
1.5.0 | 67 | 11/8/2024 |
1.4.9 | 251 | 8/30/2024 |
1.4.8 | 827 | 6/6/2024 |
1.4.7 | 243 | 6/4/2024 |
1.4.6 | 106 | 5/29/2024 |
1.4.5 | 139 | 5/23/2024 |
1.4.4 | 107 | 5/21/2024 |
1.4.3 | 2,550 | 11/8/2023 |
1.4.2 | 112 | 11/7/2023 |
1.4.1 | 119 | 11/3/2023 |
1.4.0 | 155 | 10/31/2023 |
1.3.25 | 12,480 | 8/8/2023 |
1.3.24 | 220 | 7/24/2023 |
1.3.23 | 180 | 6/13/2023 |
1.3.22 | 163 | 6/10/2023 |
1.3.21 | 183 | 6/10/2023 |
1.3.20 | 3,735 | 10/6/2022 |
1.3.19 | 403 | 10/5/2022 |
1.3.18 | 409 | 10/5/2022 |
1.3.17 | 486 | 9/13/2022 |
1.3.16 | 452 | 9/7/2022 |
1.3.15 | 448 | 9/1/2022 |
1.3.14 | 418 | 8/30/2022 |
1.3.13 | 2,938 | 4/15/2021 |
1.3.12 | 426 | 4/1/2021 |
1.3.11 | 405 | 3/26/2021 |
1.3.10 | 528 | 3/18/2021 |
1.3.8 | 476 | 3/12/2021 |
1.3.7 | 442 | 2/9/2021 |
1.3.5 | 448 | 2/4/2021 |
1.3.4 | 416 | 2/2/2021 |
1.3.3 | 421 | 1/15/2021 |
1.3.2 | 484 | 1/9/2021 |
1.3.1 | 624 | 6/15/2020 |
1.3.0 | 499 | 6/15/2020 |
1.2.1 | 485 | 6/11/2020 |
1.1.6 | 557 | 6/9/2020 |
1.1.5 | 491 | 6/8/2020 |
1.1.4 | 525 | 6/8/2020 |
1.1.3 | 806 | 1/7/2020 |
1.1.2 | 594 | 12/19/2019 |
1.1.1 | 588 | 12/14/2019 |
1.1.0 | 566 | 11/15/2019 |
1.0.3 | 585 | 10/22/2019 |
1.0.2 | 593 | 8/27/2019 |
1.0.1 | 705 | 8/23/2019 |
0.2.2 | 603 | 6/26/2019 |
0.2.1 | 605 | 6/18/2019 |
0.2.0 | 618 | 5/30/2019 |
0.1.7 | 601 | 3/23/2019 |
0.1.6 | 659 | 3/1/2019 |
0.1.5 | 636 | 2/25/2019 |
0.1.4 | 616 | 2/25/2019 |
0.1.3 | 667 | 2/11/2019 |
0.1.1 | 752 | 11/19/2018 |
0.1.0 | 786 | 11/17/2018 |