How To

How to handle 404 errors in ASP.NET Core
1/8/2025 4:41:06 AM  125

ASP.NET Core MVC is a framework for building cross-platform, scalable web applications and APIs using the Model-View-Controller pattern.

Export DataTable To Excel in C#
1/8/2025 4:20:45 AM  113

In this article, I introduce a utility for exporting a DataTable to an Excel file in C# using the Interop method.

C# Export to Excel
1/8/2025 4:05:08 AM  61

Working with various Excel spreadsheet formats and utilizing C# export functionalities is essential for many projects.

Sending Emails in C#
1/8/2025 2:29:46 AM  95

Sending emails is often not a favorite task for developers, though almost every system requires it.

Sending Emails in C# using MailKit
1/8/2025 1:54:12 AM  160

MailKit is a robust open-source .NET library designed for sending and receiving emails. We use it as an alternative to the SmtpClient class from the System.Net.Mail namespace.

Serial Port Communication in C#
1/8/2025 1:42:16 AM  165

The SerialPort class in C# enables communication with a serial port in .NET. This article demonstrates how to send and receive data through a serial port, displaying the received data in a TextBox using threading.

How to implement a distributed cache in ASP.NET Core
1/7/2025 9:25:52 AM  97

ASP.Net Core offers support for various caching techniques, including in-memory caching, response caching, and built-in distributed caching.

How to build custom middleware in ASP.NET Core
1/7/2025 9:23:05 AM  93

ASP.NET Core is an open-source, cross-platform, modular framework for building high-performance web applications.

How to use ArrayPool and MemoryPool in C#
1/7/2025 9:19:45 AM  116

Utilize array pooling and memory pooling in C# to reduce memory allocations and enhance application performance.

How to use HttpModules in ASP.NET
1/7/2025 9:18:21 AM  43

HTTP modules in ASP.NET are components that intercept incoming requests and inject pre-processing logic into the request processing pipeline.

How to use HTTPHandlers in ASP.NET
1/7/2025 9:15:33 AM  54

In ASP.Net, an HTTPHandler is a low-level request and response API used to insert pre-processing logic into the request pipeline based on file extensions and HTTP methods (verbs).

How to use LiteDB in C#
1/7/2025 8:36:39 AM  95

LiteDB is a lightweight, fast, and easy-to-use embedded NoSQL database for .NET.