NCronJob - June Edition
The last update of NCronJob was some time ago - and as always, there are some new features in the meantime. So here we are, let's go through to highlight them!
Hey, I'm Steven a .NET Developer and Freelancer in Zurich, Switzerland. I am a Microsoft MVP. Also, this blog is open source on GitHub.
The last update of NCronJob was some time ago - and as always, there are some new features in the meantime. So here we are, let's go through to highlight them!
Have you ever asked yourself if your EF LINQ queries are susceptible to SQL injection attacks? Either because you are querying some user data from a text field or directly taking whatever your API hits against the database?
If you call HttpClient.GetAsync
or HttpClient.PostAsync
and then await
the result, does the await
wait only for the headers to be received or does it wait for the body to be received? Let's find out!
The StringBuilder
class is used to create mutable sequences of characters. Strings are immutable, so if you need to perform multiple operations on a string, it is better to use a StringBuilder
instead of a string
. This is especially useful when you need to concatenate a large number of strings. But there is more magic to it, especially when we go BIG!
In today's short post, I will show you how to cancel a Task with multiple inputs (aka multiple CancellationToken
s) using CancellationTokenSource
and CancellationTokenSource.CreateLinkedTokenSource
.
I made a memory dump in my simplest console application and there are a bunch of exception instances around, what is going on? Let’s see in this blog post, why you see a few exception instances in your memory dump.
The latest preview (.NET 9 preview 4) brought another caching structure to the .NET world - so let's order some things here.
Http files are nice and handy - but they are also a bit of a pain to update. So why not generate them from a swagger definition?
Since the last blog post a lot has happened and many new features have been added to NCronJob. In this blog post I would like to introduce you to the new features and explain how you can use them.
As with almost every edition of .NET, the team has been working on improving performance. In this blog post, we will see some improvements to the related tickets and benchmarks.