https://github.com/kentico/xperience-by-kentico-miniprofiler
https://github.com/kentico/xperience-by-kentico-miniprofiler
aspnet-core miniprofiler-extension xperience-by-kentico xperience-by-kentico-integrations
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kentico/xperience-by-kentico-miniprofiler
- Owner: Kentico
- License: mit
- Created: 2024-03-04T13:10:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-11T08:14:58.000Z (7 months ago)
- Last Synced: 2025-04-12T19:09:19.807Z (7 months ago)
- Topics: aspnet-core, miniprofiler-extension, xperience-by-kentico, xperience-by-kentico-integrations
- Language: C#
- Homepage:
- Size: 14.3 MB
- Stars: 4
- Watchers: 13
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: docs/Contributing-Setup.md
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Xperience by Kentico MiniProfiler
[](https://github.com/Kentico/.github/blob/main/SUPPORT.md#full-support)
[](https://github.com/Kentico/xperience-by-kentico-miniprofiler/actions/workflows/ci.yml)
[](https://www.nuget.org/packages/Kentico.Xperience.MiniProfiler)
## Description
This integration enables you to use [MiniProfiler](https://miniprofiler.com/) 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

## Library Version Matrix
| Xperience Version | Library Version |
| ----------------- | --------------- |
| >= 30.5.1 | 2.1.0 |
| >= 29.5.3 | 2.0.1 |
| >= 29.5.3 | 2.0.0 |
| >= 28.3.1 | 1.0.0 |
### Dependencies
- [ASP.NET Core 8.0](https://dotnet.microsoft.com/en-us/download)
- [Xperience by Kentico](https://docs.xperience.io/xp/changelog)
- [MiniProfiler](https://miniprofiler.com/)
## Package Installation
Add the package to your application using the .NET CLI
```powershell
dotnet add package Kentico.Xperience.MiniProfiler
```
## Quick Start
1. Simply add this library to your to the application services in your `Program.cs`.
```csharp
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](https://dev.to/michael419/get-to-know-xperience-by-kentico-unlocking-performance-insights-with-miniprofiler-2b2c) by [Michael Eustace](https://community.kentico.com/member/85)
## Contributing
To see the guidelines for Contributing to Kentico open source software, please see [Kentico's `CONTRIBUTING.md`](https://github.com/Kentico/.github/blob/main/CONTRIBUTING.md) for more information and follow the [Kentico's `CODE_OF_CONDUCT`](https://github.com/Kentico/.github/blob/main/CODE_OF_CONDUCT.md).
Instructions and technical details for contributing to **this** project can be found in [Contributing Setup](./docs/Contributing-Setup.md).
## License
Distributed under the MIT License. See [`LICENSE.md`](./LICENSE.md) for more information.
## Support
[](https://github.com/Kentico/.github/blob/main/SUPPORT.md#full-support)
This project has **Full support by 7-day bug-fix policy**
See [`SUPPORT.md`](https://github.com/Kentico/.github/blob/main/SUPPORT.md#full-support) for more information.
For any security issues see [`SECURITY.md`](https://github.com/Kentico/.github/blob/main/SECURITY.md).