Moesif.Middleware 1.0.1

Package Description

There is a newer version of this package available.
See the version list below for details.
Install-Package Moesif.Middleware -Version 1.0.1
dotnet add package Moesif.Middleware --version 1.0.1
<PackageReference Include="Moesif.Middleware" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Moesif.Middleware --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Moesif Middleware for DotNet

Middleware SDK that captures incoming or outgoing API calls from .NET apps and sends to Moesif API Analytics.

Source Code on GitHub

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&lt;MoesifMiddleware&gt;(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.

Moesif Middleware for DotNet

Middleware SDK that captures incoming or outgoing API calls from .NET apps and sends to Moesif API Analytics.

Source Code on GitHub

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&lt;MoesifMiddleware&gt;(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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.3.1 123 6/15/2020
1.3.0 71 6/15/2020
1.2.1 68 6/11/2020
1.1.6 143 6/9/2020
1.1.5 69 6/8/2020
1.1.4 100 6/8/2020
1.1.3 202 1/7/2020
1.1.2 138 12/19/2019
1.1.1 137 12/14/2019
1.1.0 121 11/15/2019
1.0.3 135 10/22/2019
1.0.2 140 8/27/2019
1.0.1 167 8/23/2019
0.2.2 169 6/26/2019
0.2.1 151 6/18/2019
0.2.0 180 5/30/2019
0.1.7 198 3/23/2019
0.1.6 210 3/1/2019
0.1.5 197 2/25/2019
0.1.4 203 2/25/2019
0.1.3 204 2/11/2019
0.1.1 225 11/19/2018
0.1.0 251 11/17/2018
Show less