Skip to content

Duong's Blog

About technology stuff that piqued my interest

  • English
  • Vietnamese
  • About me

Expression Tree for IQueryable in LINQ

June 29, 2022June 29, 2022 duongnt.bkLeave a Comment on Expression Tree for IQueryable in LINQ

To avoid hard-coding attribute names in LINQ code of the IQueryable type, we can manually create Expression Tree. This helps eliminate duplicated code.

C#, English C#, expression-tree, linq

Expression Tree cho IQueryable trong LINQ

June 29, 2022June 29, 2022 duongnt.bk1 Comment on Expression Tree cho IQueryable trong LINQ

Ta có thể tự tạo Expression Tree để tránh hard-code tên attribute trong code LINQ của IQueryable. Điều này giúp hạn chế trùng lặp code.

C#, Vietnamese C#, expression-tree, linq

Task.Yield – a rarely used method in C#

June 13, 2022June 13, 2022 duongnt.bk1 Comment on Task.Yield – a rarely used method in C#

The Task.Yield method can “creates an awaitable task that asynchronously yields back to the current context when awaited”. Let’s find out what that means today.

C#, English C#, concurrency, Task.Yield

Task.Yield – một hàm ít dùng trong C#

June 13, 2022June 13, 2022 duongnt.bkLeave a Comment on Task.Yield – một hàm ít dùng trong C#

Hàm Task.Yield sẽ trả lại quyền điều khiển cho context hiện tại ngay khi được await. Điều đó có nghĩa là gì? Hãy cùng tìm hiểu trong bài hôm nay.

C#, Vietnamese C#, concurrency, Task.Yield

Tag Helpers và custom tag trong ASP.NET Core

May 25, 2022May 26, 2022 duongnt.bkLeave a Comment on Tag Helpers và custom tag trong ASP.NET Core

Tính năng Tag Helpers trong ASP.NET Core được dùng để tạo custom tag hoặc custom attribute cho HTML tag sẵn có. Hãy cùng tìm hiểu trong bài hôm nay.

C#, Vietnamese ASP.NET Core, C#, Tag Helpers

Tag Helpers and custom tags in ASP.NET Core

May 25, 2022May 26, 2022 duongnt.bk1 Comment on Tag Helpers and custom tags in ASP.NET Core

In ASP.NET Core, Tag Helpers can be used to create custom HTML tags, or to create custom attributes for other tags. Let’s find out how to do that.

C#, English ASP.NET Core, C#, Tag Helpers

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

Posts navigation

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