normj / NormDev.MiniProfiler.AWS

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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()

About

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

License:Apache License 2.0


Languages

Language:C# 57.1%Language:HTML 36.1%Language:CSS 5.4%Language:JavaScript 1.5%