How To
Convert XML to JSON in C#
By Tan Lee Published on Jan 10, 2025 445
To convert XML to JSON using ExpandoObject, XDocument, and Newtonsoft.Json in C#, follow these steps:
How to Hide a WinForm in C#
By Tan Lee Published on Jun 08, 2024 10.09K
In C#, you can hide a WinForm after it run by using the Hide() method of the form.
How to convert timestamp to date in SQL Server
By Tan Lee Published on Dec 09, 2024 793
In SQL Server, you can convert a timestamp (or datetime) to just a date using the CAST or CONVERT functions.
How to Change system time in C#
By Tan Lee Published on Nov 05, 2024 403
In C#, the DateTime struct does not have any built-in method to set the system time.
How to disable the Windows key in C#
By Tan Lee Published on Jan 09, 2025 799
To disable the Windows key in C#, you can use a global keyboard hook to intercept key presses and block the Windows key.
Boosting Web Performance with MapStaticAsset in ASP.NET Core
By Tan Lee Published on Jan 09, 2025 366
Faster page loads enhance user experience, reduce bandwidth usage, and contribute to better search engine rankings.
How to increase session timeout in ASP.NET MVC
By Tan Lee Published on May 20, 2024 1.83K
This post shows you How to increase session timeout in ASP.NET MVC
How to Open a PDF file in C#
By Tan Lee Published on Dec 24, 2024 362
In this article, we will explore how to display a PDF file in a WebBrowser control in a Windows Forms application.
How to Send Emails in C# via SMTP
By Tan Lee Published on Jan 08, 2025 282
C# is a popular programming language used for developing web applications, enterprise software, and games, all of which often require communication with users.
How to send web request to URL in C#
By Tan Lee Published on Jan 09, 2025 364
In this post, we will cover how to send a web request to a URL in order to retrieve data.
How to iterate over Enum in C#
By Tan Lee Published on Jan 09, 2025 294
In this post, we will explore the topic of "How to iterate over an Enum in C#?" The Enum type is a commonly used feature in many C# applications.
Thread Lock in C#
By Tan Lee Published on Jan 09, 2025 228
In this article, we will explore the concept of thread locking in C# and how locks ensure exclusive access to shared resources.