How To

How to build custom middleware in ASP.NET Core
By Tan Lee Published on Jan 07, 2025 215

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#
By Tan Lee Published on Jan 07, 2025 419

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

How to use HttpModules in ASP.NET
By Tan Lee Published on Jan 07, 2025 171

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
By Tan Lee Published on Jan 07, 2025 253

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#
By Tan Lee Published on Jan 07, 2025 445

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

How to use RabbitMQ in C#
By Tan Lee Published on Jan 07, 2025 296

RabbitMQ is a fast, open-source message broker written in Erlang, based on the Open Telecom Platform framework.

How to use FileSystemWatcher in C#
By Tan Lee Published on Jan 07, 2025 322

The FileSystemWatcher class in the System.IO namespace is used to monitor changes in the file system.

How to measure the execution time using PostSharp
By Tan Lee Published on Jan 07, 2025 238

PostSharp's AOP (Aspect-Oriented Programming) features allow you to profile methods and identify slow-running ones in your application.

How to use Tuple in C#
By Tan Lee Published on Jan 07, 2025 189

Tuples are data structures that store a fixed-size, ordered sequence of immutable, heterogeneous elements, meaning each element can be of a different type.

How to use Lamar in ASP.NET Core
By Tan Lee Published on Jan 07, 2025 185

ASP.Net Core has built-in support for dependency injection (DI) with a minimal DI container.

How to use NCache in ASP.NET Core
By Tan Lee Published on Jan 07, 2025 145

Although ASP.Net Core doesn't include a cache object, it supports various caching methods, such as in-memory caching, distributed caching, and response caching.

How to use MiniProfiler in ASP.NET Core
By Tan Lee Published on Jan 07, 2025 192

Web application performance is a global concern, and developers have various tools to identify performance issues.