Using Async Enumerable To Save Memory

I have encountered a problem recently. We have feature in the software that allows users to download large amounts of exported data. We found that some users selected so much data that the memory grew uncontrollably in .NET Core. So I researched the problem and found out that the async enumerable feature in C# 8 …

Continue reading ‘Using Async Enumerable To Save Memory’ »

Setting Up GitHub Actions

I have some Open Source projects that I maintain in my “free” time.  One of them is recurrence calculator – .NET library to computer recurrence date based on Outlook style rules: https://github.com/SergeyBarskiy/RecurrenceCalculator.  I was adding support for .NET 6, and decided to invest into some automation.  I wanted to setup two builds: one when I …

Continue reading ‘Setting Up GitHub Actions’ »

Creating Schedule Driven Windows Service in .NET Core 3.0

The upcoming version of .NET Core, 3.0, will have native support for Windows and Linux Services.  On Windows the services will rely on standard Windows features.  On Linux it will rely on Systemd.  One of the most common use of windows services in to run background tasks based on a schedule.  One of the most …

Continue reading ‘Creating Schedule Driven Windows Service in .NET Core 3.0’ »

Distributed Cache, Redis and .NET Core

In many apps there is a need to have distributed cache.  For years now, adopting distributed cache on Windows has been a challenge.  Most popular product, Redis, is no longer supported on Windows platform.  The easiest way to get it going on Windows today is Docker for Windows in my opinion.  To do so, first …

Continue reading ‘Distributed Cache, Redis and .NET Core’ »