Here are some of the best .NET, C# and ASP NET posts from this week.
This Weeks Articles
Five levels of performance tuning for an EF Core query
By Jon Smith
This is a companion article to the EF Core Community Standup called “Performance tuning an EF Core app” where I apply a series of performance enhancements to a demo ASP.NET Core e-commerce book selling site called the Book App. I start with 700 books, then 100,000 books and finally ½ million books.
Flurl - The elegant way to build URLs & set query params in .Net
By Kumar Ashwin Hubert
A common task when calling web apis or resources from code is building a URL and adding the necessary query string and parameters. Flurl adds extension methods to strings which helps us easily add path segment, set query params, set fragment, etc. in a clean and elegant manner.
Canceling HTTP Requests in ASP.NET Core with CancellationToken
By Marinko Spasojevic
It is quite a possible situation to have a user navigating to the client application’s page that sends an HTTP request to the server. While our app processing the request, a user can navigate away from that page. In such a case, we want to cancel the HTTP request since the response is no longer important to that user. Of course, this is just one of many situations that could happen in a real-world application where we would want to cancel our request. So, in this article, we are going to learn how to use CancellationToken to cancel HTTP requests in our client application.
You Might Also Like
- A Brief Introduction to F# for Object Oriented Developers
- Build an interactive kanban board with Vue Draggable
"Ten++ Ways to Make Money as a Developer" eBook
I post mostly about full stack .NET and Vue web development. To make sure that you don't miss out on any posts, please follow this blog and subscribe to my newsletter. If you found this post helpful, please like it and share it. You can also find me on Twitter.
Top comments (0)