C# Tranquillity in C# with EasyDictionary Dictionary is probably among the most used collections in C#...
C# Generating IDs in C#, 'safely' and efficiently Recently I needed to find an efficient algorithm for generating unique IDs in a highly concurrent and low latency component.
C# Counting Lines of a Text File in C#, the Smart Way Counting the lines of a text file may not seem very exciting but recently I had to deal with a number of large files...
C# Stuff Every .NET App Should be Logging at Startup Unless all you build are HelloWorld applications which never get deployed anywhere you almost certainly have come across cases where either you or your support team have had to figure out...
C# Practical Parallelization in C# with MapReduce, ProducerConsumer and ActorModel The barrier of entry into multi-threading in .NET is relatively low as both Parallel Computing (making programs run faster) and Concurrent Programming (making programs more responsive) have been greatly simplified since the introduction of TPL and and its friends...
C# Local Functions, a C# 7 Feature C# 7 has introduced a number of features; In this article we are going to take a look at Local Functions and why you may want to use them...
C# Beware of the .NET HttpClient In the old days of .NET (pre 4.5) sending a HTTP request to a server could be accomplished by either using the WebClient or at a much lower level via the HttpWebRequest...
C# High Resolution Clock in .NET Obtaining high resolution time requires a clock which is both precise as well as accurate and those are different things...
C# How to obtain the framework version of a .NET assembly If you have ever wondered what version of the .NET framework a given assembly has been built against this post may be of some help.
C# Beware of the IDictionary<TKey, TValue> In my quest to reduce latency and CPU consumption of our components, I came across a very interesting and probably not so well known performance gotcha!
C# Cleaner Pub-Sub using the Event Aggregator Pattern If you have been working with .NET events then you should be familiar with the following pattern...
.NET .NET Core 5, Entity Framework 7, ASP.NET 5 (vNext) & MVC 6 are all Dead! That's it, it is official. Today in their weekly community stand-up the ASP.NET team announced what many .NET developers had been waiting to hear ever since ASP.NET vNext was announced back
C# Per Object Garbage Collection Notification in .NET Ever since .NET 3.5 we have been able to get notifications when a Garbage Collection is pending, this can be achieved by using...
C# High Performance Logging using log4net When it comes to logging in .NET all you generally need to do is choose between log4net or NLog and start logging...