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.
Xperience Version | Library Version |
---|---|
>= 29.5.3 | 2.0.1 |
>= 29.5.3 | 2.0.0 |
>= 28.3.1 | 1.0.0 |
Add the package to your application using the .NET CLI
dotnet add package Kentico.Xperience.MiniProfiler
- 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
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.
Distributed under the MIT License. See LICENSE.md
for more information.
This project has Full support by 7-day bug-fix policy
See SUPPORT.md
for more information.
For any security issues see SECURITY.md
.