Skip to content

Duong's Blog

About technology stuff that piqued my interest

  • English
  • Vietnamese
  • About me

Category: English

  • Home
  • English

Generate API clients with OpenAPI Generator

October 27, 2021October 27, 2021 duongnt.bk1 Comment on Generate API clients with OpenAPI Generator

I used to write all API client code myself. Then I took an OpenAPI Generator to the knee. The works that used to take day can now be done in seconds.

C#, English api, C#, openapi generator

Read CSV files in C# with CsvHelper

October 17, 2021October 17, 2021 duongnt.bk4 Comments on Read CSV files in C# with CsvHelper

Write code to read CSV files does not seem like a difficult task. Then you learn of all those caveats of the CSV format.

C#, English C#, csv, CsvHelper

Sliding expiration in StackExchangeRedis

October 9, 2021December 6, 2022 duongnt.bk1 Comment on Sliding expiration in StackExchangeRedis

In Redis, there is no concept of sliding expiration. If so, how did StackExchangeRedis implement this feature? Let’s find out here.

C#, English C#, redis, stackexchangeredis

Exchange data between a Python and a C# .NET app via Redis

October 3, 2021October 3, 2021 duongnt.bkLeave a Comment on Exchange data between a Python and a C# .NET app via Redis

The third article in a series about Redis-based distributed caching. We will see how Redis can help us exchange data between a Python and a C# .NET application.

C#, English, Python C#, cache, python, redis

Using StackExchangeRedis to integrate Redis with a C# .NET app

September 24, 2021December 6, 2022 duongnt.bk3 Comments on Using StackExchangeRedis to integrate Redis with a C# .NET app

The second article in a series about Redis-based distributed caching. We will look at StackExchangeRedis, a C# package to interact with Redis.

C#, English C#, cache, redis, stackexchangeredis

Connect to Redis with aioredis and Python

September 21, 2021September 29, 2021 duongnt.bk2 Comments on Connect to Redis with aioredis and Python

The first article in a series about Redis-based distributed caching. We will take a look at aioredis, a Python library to make non-blocking calls to Redis.

English, Python aioredis, cache, python, redis

Redis-based distributed caching

September 18, 2021October 9, 2021 duongnt.bk1 Comment on Redis-based distributed caching

Redis is a popular choice when we need a distributed cache. Find out how to integrate Redis with Python and C# .NET in this three-part series.

English distributed caching, redis

Overview of string interning in C#

September 10, 2021December 6, 2022 duongnt.bk1 Comment on Overview of string interning in C#

String is a fundamental type in C#, and most of us use it all the times. But some of its features, like string interning for example, can trip us up.

C#, English C#, string

Dynamic code generation in C#

September 3, 2021December 6, 2022 duongnt.bk1 Comment on Dynamic code generation in C#

The Reflection API is flexible but not very fast. By generating the IL code ourselves with dynamic code generation, we can significantly improve performance.

C#, English C#, dynamic, il

LINQ to Objects and some common mistakes

August 25, 2021December 6, 2022 duongnt.bkLeave a Comment on LINQ to Objects and some common mistakes

LINQ is a very useful feature of C# and is one of my favourites. But it can also causes some subtle bugs if used incorrectly.

C#, English bug, C#, linq

Posts navigation

Older posts
Newer posts
Copyright © 2025 Duong's Blog All rights reserved. Theme: Flash by ThemeGrill. Powered by WordPress