Search

How to Get and send JSON using HttpClient in C#
By Tan Lee Published on Jan 22, 2025 506

Handling JSON data in C# is an essential part of modern web development, and HttpClient provides a straightforward way to interact with APIs that return or require JSON.

Read more
How to replace a file in C#
By Tan Lee Published on Jun 12, 2024 837

Replacing a file in C# can be done using the System.IO namespace, which provides classes for working with files and directories.

Read more
How to Convert WebP to JPEG in C#
By Tan Lee Published on Jan 10, 2025 586

WebP is a modern image format developed by Google, offering superior compression and quality compared to older formats like JPEG and PNG.

Read more
How to create a Metro Message Box in C#
By Tan Lee Published on Jul 16, 2024 25.55K

Creating a Metro MessageBox using Metro Framework Modern UI Design in C# Windows Forms application.

Read more
How to use Modern UI Metro Framework in C#
By Tan Lee Published on Jul 16, 2024 20.54K

To use the WinForms Modern UI Metro Framework in a C# Windows Forms application, follow these steps.

Read more
Getting Started with LiteDB database in C#
By Tan Lee Published on Jun 24, 2024 14.03K

Using LiteDB, a NoSQL database for .NET, in C# is straightforward and involves a few basic steps to get started.

Read more
How to remove HTML tags from string in C#
By Tan Lee Published on Jan 09, 2025 803

In this post, we will explore how to remove HTML tags from a string in C#.

Read more
DataGridView index out of range exception
By Tan Lee Published on Feb 04, 2025 248

While working with WinForms in C#, you may encounter an issue when clicking on a column header in a DataGridView.

Read more
How to supply IOptions in ASP.NET Core
By Tan Lee Published on Feb 04, 2025 219

The options pattern in C# allows you to inject settings into a registered service through dependency injection. If your code uses this pattern, you will need to provide an IOptions object.

Read more
How to use Dictionary with tuples in C#
By Tan Lee Published on Dec 20, 2024 599

You can use dictionaries with tuples as either keys or values in C#.

Read more