Search
Generate C# Class from SQL
By Tan Lee Published on Jan 10, 2025 407
I’m sure many developers share my frustration with “plumbing code” those tedious tasks that involve generating entity model classes that mirror SQL tables.
Read moreHow to convert a byte size to string in C#
By Tan Lee Published on Jan 10, 2025 294
When dealing with byte sizes in C#, you often need to present the size in a more understandable format, such as KB, MB, GB, or TB.
Read moreRemoving Specific Query String Parameters from a URL in C#
By Tan Lee Published on Jan 10, 2025 622
In web development, it's often necessary to manipulate URLs, such as removing specific query string parameters.
Read moreReplace {x} tokens in strings in C#
By Tan Lee Published on Jan 10, 2025 353
When working with URLs that contain placeholders (also known as tokens), you may need to dynamically replace those placeholders with actual values at runtime.
Read moreString Token Replacer in C#
By Tan Lee Published on Jan 10, 2025 314
To create a string token replacer in C#, you can implement a simple method that searches for specific tokens (placeholders) in a string and replaces them with corresponding values from a dictionary.
Read moreImplementing .NET Core API Caching in C#
By Tan Lee Published on Jan 10, 2025 222
To implement caching in a .NET Core API using AddResponseCaching and the [ResponseCache] attribute, follow these steps.
Read moreConvert XML to JSON in C#
By Tan Lee Published on Jan 10, 2025 489
To convert XML to JSON using ExpandoObject, XDocument, and Newtonsoft.Json in C#, follow these steps:
Read moreHow to Hide a WinForm in C#
By Tan Lee Published on Jun 08, 2024 10.21K
In C#, you can hide a WinForm after it run by using the Hide() method of the form.
Read moreHow to Add Items To ListBox from TextBox in C#
By Tan Lee Published on May 22, 2024 22.08K
To add items from a TextBox to a ListBox in a C# Windows Forms application, you can do the following step.
Read moreHow to make a WhatsApp Messenger in C#
By Tan Lee Published on Jun 01, 2017 10.49K
To create a WhatsApp messenger client in C# for sending and receiving messages, you need to use the WhatsApp API.
Read more