How To
Removing Specific Query String Parameters from a URL in C#
1/10/2025 2:54:40 AM 234
In web development, it's often necessary to manipulate URLs, such as removing specific query string parameters.
Replace {x} tokens in strings in C#
1/10/2025 2:48:06 AM 180
When working with URLs that contain placeholders (also known as tokens), you may need to dynamically replace those placeholders with actual values at runtime.
String Token Replacer in C#
1/10/2025 2:42:07 AM 176
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.
Implementing .NET Core API Caching in C#
1/10/2025 2:34:59 AM 129
To implement caching in a .NET Core API using AddResponseCaching and the [ResponseCache] attribute, follow these steps.
Convert XML to JSON in C#
1/10/2025 2:17:20 AM 174
To convert XML to JSON using ExpandoObject, XDocument, and Newtonsoft.Json in C#, follow these steps:
How to Hide a WinForm in C#
1/9/2025 9:05:22 AM 9.59K
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
1/9/2025 8:59:09 AM 512
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#
1/9/2025 8:41:47 AM 287
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#
1/9/2025 8:11:58 AM 416
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
1/9/2025 7:24:02 AM 198
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
1/9/2025 7:07:15 AM 1.27K
This post shows you How to increase session timeout in ASP.NET MVC
How to Open a PDF file in C#
1/9/2025 6:29:45 AM 178
In this article, we will explore how to display a PDF file in a WebBrowser control in a Windows Forms application.