/NormDev.MiniProfiler.AWS

Unofficial package that enables AWS service calls to be include in the .NET tool MiniProfiler

Primary LanguageC#Apache License 2.0Apache-2.0

NormDev.MiniProfiler.AWS nuget

An unofficial package to add AWS service calls to MiniProfiler traces.

Although I work on the AWS .NET team this is not an AWS project. This is a personal side project so Do not report issues with this library on AWS repositories.

Trace Viewer

Enabling for ASP.NET Core applications

To enable MiniProfiler in an ASP.NET Core application follow this tutorial https://miniprofiler.com/dotnet/AspDotNetCore

To add AWS service calls to the trace add a call to AddAWSSDK after calling AddMiniProfiler

public void ConfigureServices(IServiceCollection services)
{
    ...

    services
        .AddMiniProfiler()
        .AddAwsSdk();

    ...
}

Enable in Non-DI applications

For applications that are not using Microsoft.Extensions.DependencyInjection to enable MiniProfiler the Register.RegisterWithSdk() is used.

NormDev.MiniProfiler.AWS.Register.RegisterWithSdk()