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
>= 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.
var env = builder.Environment;

if (env.IsDevelopment())
{
    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

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.