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’ »

Vote for a Cool Project

My son is taking part in NATIONAL TEXAS INSTRUMENTS/NASA CODING CONTEST! If they advance, they get to visit NASA in Houston and present their project to NASA engineers at Johnson Space Center and Mission Control! VOTE FOR HIS DESIGN, THE ASTROBUTLER. Vote on each device you have!  Go here to vote: https://education.ti.com/en/promotion/codescontest and click on …

Continue reading ‘Vote for a Cool Project’ »

Materials I used to prepare for AWS Certification

I have been studying for AWS Certified Solution Architect Associate for many months.  I finally took the test this weekend.  I wanted to document the preparation materials I used. I started with AWS Certification web site: https://aws.amazon.com/certification/certification-prep/ I read frequently asked questions page for all AWS services: https://aws.amazon.com/faqs/.  I also specifically read all the white …

Continue reading ‘Materials I used to prepare for AWS Certification’ »

Using ProxyKit to Simulate IIS Rewrite Rules

In many ASP.NET apps I worked on, I used reverse proxy in a number of situations.  Typically I used IIS modules: Application Request Routing and URL Rewrite.  You can install both inside IIS using Microsoft Web Platform Installer.  In ASP.NET Core we cannot assume that the application is hosted on Windows inside IIS.  As I …

Continue reading ‘Using ProxyKit to Simulate IIS Rewrite Rules’ »

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’ »

Controlling Scrolling with @Angular/flex-layout

Flex-layout library written by Angular team can be used to layout our web applications written in @Angular.  One of the issues that we had to persistently deal with is to control scrolling in various parts of the screen independently.  We can always let browser control the vertical scrolling.  However, this becomes a problem with more …

Continue reading ‘Controlling Scrolling with @Angular/flex-layout’ »

Another .NET Core Tool

A while ago I wrote my first global tool: http://www.dotnetspeak.com/sql-server/my-fist-net-core-tool-is-live-on-nuget/  I continued on my path to create more tools that eliminate the need for an ORM when writing .NET Core / .NET Standard apps and packages.  Since I wrote a package to generate stored procedures, I wrote a companion one that creates data access classes …

Continue reading ‘Another .NET Core Tool’ »