Skip to content

Kentico/xperience-by-kentico-miniprofiler

Repository files navigation

Xperience by Kentico MiniProfiler

7-day bug-fix policy CI: Build and Test NuGet Package

Description

This integration enables you to use MiniProfiler which is a simple but effective mini-profiler for .NET and other languages. You can use this integration to optimize page loads by determining how long it takes and how effective are your DB queries.

Screenshots

DancingGoat example usage

Library Version Matrix

Xperience Version Library Version
>= 29.5.3 2.0.1
>= 29.5.3 2.0.0
>= 28.3.1 1.0.0

Dependencies

Package Installation

Add the package to your application using the .NET CLI

dotnet add package Kentico.Xperience.MiniProfiler

Quick Start

  1. Simply add this library to your to the application services in your Program.cs.
builder.Services.AddKentico(features =>
{
    // Kentico builder services configuration ...
});

// Other builder services configuration ...

var env = builder.Environment;

if (env.IsDevelopment())
{
    // After the call to builder.Services.AddKentico( ... );
    builder.Services.AddKenticoMiniProfiler();
}

// Other services ...

var app = builder.Build();

app.UseKentico();

// After call to UseKentico()

if (env.IsDevelopment())
{
    app.UseMiniProfiler();
}

This adds the profiler into your application if the current enviroment is Development

For more details about this integration, check out Get to know Xperience by Kentico: Unlocking performance insights with MiniProfiler by Michael Eustace

Contributing

To see the guidelines for Contributing to Kentico open source software, please see Kentico's CONTRIBUTING.md for more information and follow the Kentico's CODE_OF_CONDUCT.

Instructions and technical details for contributing to this project can be found in Contributing Setup.

License

Distributed under the MIT License. See LICENSE.md for more information.

Support

7-day bug-fix policy

This project has Full support by 7-day bug-fix policy

See SUPPORT.md for more information.

For any security issues see SECURITY.md.