Evaluating and Benchmarking the Performance of Minimal APIs
The purpose of this chapter is to understand one of the motivations for which the minimal APIs framework was created.
This chapter will provide some obvious data and examples of how you can measure the performance of an ASP.NET 6 application using the traditional approach as well as how you can measure the performance of an ASP.NET application using the minimal API approach.
Performance is key to any functioning application; however, very often it takes a back seat.
A performant and scalable application depends not only on our code but also on the development stack. Today, we have moved on from the .NET full framework and .NET Core to .NET and can start to appreciate the performance that the new .NET has achieved, version after version – not only with the introduction of new features and the clarity of the framework but also primarily because the framework has been completely rewritten and improved with many...