Skip to Main Content
.NET Core 2.0 By Example
book

.NET Core 2.0 By Example

by Neha Shrivastava, Rishabh Verma
March 2018
Beginner to intermediate content levelBeginner to intermediate
458 pages
10h 34m
English
Packt Publishing
Content preview from .NET Core 2.0 By Example

Performance tips

ASP.NET Core is one of the fastest platforms on the fundamentals of web request routing, as per benchmarks. Read the complete story at https://www.techempower.com/blog/2016/11/16/framework-benchmarks-round-13/. In this section, we will discuss the points we can use to achieve better performance in our ASP.NET Core apps:

  • It might sound repetitive, but please use async all the way. This is key to the performance of an ASP.NET Core app.
  • Test, test, and test! Perform load testing of your app early and often to find the issues early in development. Our team, in fact, came up with a radical idea to identify performance bottlenecks. The idea is to write middleware, that calculates the response time of the API, and if the response ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

ASP.NET Core 3 and React

ASP.NET Core 3 and React

Carl Rippon
Enterprise Application Development with C# 9 and .NET 5

Enterprise Application Development with C# 9 and .NET 5

Ravindra Akella, Rishabh Verma, Arun Kumar Tamirisa, Suneel Kumar Kunani, Bhupesh Guptha Muthiyalu

Publisher Resources

ISBN: 9781788395090Supplemental Content