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

General tips

Now that we know the differences, let's move on to some tips and tricks that are based on top of these architectural differences and more:

  • Recently, I was working on the performance optimization of the ASP.NET Core app. We had used in-memory caching with a cache get timeout of five seconds. You would expect that any data from in-memory caching would be retrieved in a matter of milliseconds as it is an in-process cache and this was generally true. However, under load we figured out that data was not getting picked up from the cache. Once we added logging, we figured out that the Get operation in cache was timing out. Yes, even with a five-second value, we had a timeout while fetching data from the cache. On investigation, we ...
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