Skip to content

Duong's Blog

About technology stuff that piqued my interest

  • English
  • Vietnamese
  • About me

Category: C#

  • Home
  • C#

Tạo custom policy cho Polly trong C#

May 15, 2022May 15, 2022 duongnt.bkLeave a Comment on Tạo custom policy cho Polly trong C#

Trong bài trước, chúng ta đã tìm hiểu tổng quan về Polly. Hôm nay chúng ta sẽ cùng nghiên cứu cách viết custom policy trong Polly.

C#, Vietnamese C#, custom policy, polly

Create custom policy for Polly in C#

May 15, 2022May 15, 2022 duongnt.bkLeave a Comment on Create custom policy for Polly in C#

In the last article, we went through the basics of Polly. Today, we will find out how to use Polly to create our own custom policy.

C#, English C#, custom policy, polly

Dùng Polly để thử gửi lại request trong C#

April 29, 2022May 15, 2022 duongnt.bk1 Comment on Dùng Polly để thử gửi lại request trong C#

Polly là thư viện tôi thường dùng mỗi khi phải thử gửi lại HTTP request. Trong bài hôm nay, chúng ta sẽ cùng tìm hiểu cách sử dụng thư viện này.

C#, Vietnamese C#, polly

Use Polly to retry requests in C#

April 29, 2022May 15, 2022 duongnt.bk3 Comments on Use Polly to retry requests in C#

The Polly library is my go-to choice whenever I need to retry my HTTP requests. In today’s article, we will see how it works.

C#, English C#, polly

Điều khiển thời gian trong unit test C#

March 23, 2022December 6, 2022 duongnt.bk1 Comment on Điều khiển thời gian trong unit test C#

Việc test các hàm phụ thuộc vào thời gian chạy là tương đối phức tạp. Thật may là các package NodaTime và NodaTime.Testing có thể giúp ta giải quyết vấn đề này.

C#, Vietnamese C#, NodaTime, testing

Time dependent unit testing in C#

March 23, 2022December 6, 2022 duongnt.bk1 Comment on Time dependent unit testing in C#

Testing time dependent classes can be tricky. Fortunately, the NodaTime and NodaTime.Testing package can assist us in resolving this issue.

C#, English C#, NodaTime, testing

Restore Vietnamese diacritics with Transformer

January 29, 2022January 31, 2022 duongnt.bk1 Comment on Restore Vietnamese diacritics with Transformer

In this article, we try to restore Vietnamese diacritics using a Transformer model. You don’t need to understand Vietnamese to read this, I promise :).

C#, English, Python deep-learning, keras, nlp

Thêm dấu cho Tiếng Việt bằng Transformer

January 29, 2022February 3, 2022 duongnt.bk1 Comment on Thêm dấu cho Tiếng Việt bằng Transformer

Thêm dấu cho Tiếng Việt không dấu là một vấn đề thú vị. Hôm nay, chúng ta sẽ dùng Transformer và các kỹ thuật machine translation để giải quyết vấn đề này.

C#, Python, Vietnamese deep-learning, keras, nlp

Đồng bộ sử dụng Interlocked trong C#

December 29, 2021January 3, 2022 duongnt.bk2 Comments on Đồng bộ sử dụng Interlocked trong C#

Phương pháp đồng bộ phổ biến nhất trong C# .NET là sử dụng lock. Nhưng trong nhiều tình huống, Interlocked có hiệu năng vượt trội.

C#, Vietnamese C#, performance, synchronization

Synchronization with Interlocked in C#

December 27, 2021December 29, 2021 duongnt.bk3 Comments on Synchronization with Interlocked in C#

The most common way to synchronize threads in C# .NET is using the lock keyword. But in many situations, the Interlocked class can provide superior performance.

C#, English C#, performance, synchronization

Posts navigation

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