How To
Insert records with Dapper in C#
1/18/2025 2:31:37 AM 168
You can easily insert records using Dapper by executing an INSERT statement along with a model object.
How to use IN with Dapper in C#
1/18/2025 2:31:29 AM 111
Imagine you have a SQL query that uses the IN clause, and you need to execute it using Dapper.
Execute a stored procedure with Dapper in C#
1/18/2025 2:29:33 AM 125
You can execute stored procedures using Dapper by specifying the procedure name, parameters, and setting the CommandType to StoredProcedure.
C# EventHandler
1/18/2025 1:53:04 AM 96
Events are a core implementation of the observer pattern and consist of two main components:
Content Negotiation in Web API
1/17/2025 8:26:02 AM 84
Content negotiation is a process that enables a client to request a specific representation of a resource, such as JSON, XML, or plain text, when multiple formats are available.
How to Consume RESTful APIs in C#
1/17/2025 8:03:32 AM 104
When working on a web development project, you'll often find the need to interact with external services or data.
How to Parse RSS and ATOM Feeds in C#
1/17/2025 4:38:22 AM 114
In this article, we’ll learn how to parse RSS and ATOM feeds using C#.
How to read XML in C#
1/17/2025 4:11:50 AM 263
Parsing XML in C# can be done using several approaches, each suitable for different scenarios depending on the complexity of the XML structure and performance requirements.
How to fix 'InvalidOperationException: Scheme already exists: Bearer'
1/17/2025 2:45:51 AM 341
The System.InvalidOperationException: Scheme already exists: bearer error typically occurs when you're working with authentication in a .NET application, and you've registered the Bearer authentication scheme multiple times, which causes a conflict.
How to disable Form Resize on Title Bar Double-Click in C#
1/17/2025 2:06:05 AM 455
To prevent the form from being resized or restored when a user double-clicks on the title bar (or when the title bar is clicked), you can use the WndProc method to intercept and handle Windows messages directly within your form.
Deep Cloning A Connected Graph Of Objects in C#
1/16/2025 7:40:30 AM 127
When programming, you may occasionally need to create a deep copy of a complex data structure.
Determining if Aero is Enabled in C#
1/16/2025 7:38:33 AM 94
While working on a recent project, I needed to adjust the UI based on whether Aero Glass was enabled in Windows.