This article will get you started with how to enable miniprofiler in ASP.NET Core to measure the performance of your application. MiniProlifer helps you understand how your application is performing by allowing you to profile any part of code in ASP.NET Core Applications.

Need for Profiling

It is very obvious for every application developer to wonder about how their application is performing in the production environment and always there will be a requirement for code/application to perform better i.e. operations should be fast.

Code profiling will provide details about code performance and if any code/function is running slow i.e. taking more than expected time then you will have to identify where this code/function is spending most of the time i.e. you need to know which block of code is running slow so that you can optimize that piece of code.

Code profilers allow us to easily, without significant efforts (code changes or configuration), capture this information about where the application is spending most of the time.

If something is not performing correctly then steps can be taken to correct that with the help of profiling.

#code profiling #miniprofiler #aspdotnet core 3.1 #aspdotnet core

Code Profiling using MiniProfiler in ASP.NET Core 3.1
1.10 GEEK